You might want to consider doing an SVC99 query by DDNAME to get the related dataset name.
You can invoke SVC99 from a C program using the C-runtime or directly via assembler. Or if you read between the lines enough, you can the c-runtime svc99 function directly from cobol with text units built in your working storage. This is a really good way to practice your pointers in COBOL. On Thu, Mar 19, 2015 at 1:56 PM, Scott Ford <[email protected]> wrote: > All: > > I have a need to find the current dataset name of a ddname of a STC > running. The STC is in Cobol and I would like to write the ddname query in > Assembler. Could I do the following .... > > Call xyz passing ddname > ... Either with EXTRACT or RDJFCB find the dataset name and pass it back > > ? > > Regards, > Scott > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
