Curious if the SVC99 query by DDNAME to get the related dataset name.is available in the BPX dynamic allocation routine .. that my memory is currently swapped out for ...
Rob Schramm Rob Schramm Senior Systems Consultant On Thu, Mar 19, 2015 at 5:22 PM, Scott Ford <[email protected]> wrote: > Yeah, I will definitely check this out .. thank you Sam and Peter ... > > On Thu, Mar 19, 2015 at 5:20 PM, Sam Siegel <[email protected]> wrote: > > > 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 > > > > ---------------------------------------------------------------------- > 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
