Absolutely.  Been doing that from production COBOL code for decades now.

Can't share the code from here because it belongs to my employer, but I'm sure 
CBT has one (or more) somewhere that you could start with.

HTH

Peter

P.S. - If you want to stretch your coding experiences a little, try writing it 
in MetalC.  It is an interesting exercise.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Ford
Sent: Thursday, March 19, 2015 4:57 PM
To: [email protected]
Subject: RDJFCB

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

--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to