All are VB -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Sri h Kolusu Sent: Friday, April 28, 2023 3:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: COBOL to dynamic DD name
>> So use it to retrieve the data set name that is allocated in the JCL to the >> DD, then use the environment variable method to write to that same data set >> name? Hmmm. Michael, Not really, once you get the Dataset name, you can open it in EXTENDED mode and write the output. However, you are still limited by the LRECL and RECFM of the ddname. Since you are splitting the records, I guess all of them have the same length Thanks, Kolusu DFSORT Development IBM Corporation ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN