On Thu, 19 Mar 2015 16:56:41 -0400, 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

If you are not adverse to chasing MVS control blocks from COBOL code, (instead 
of using a system interface like RDJFCB), then take a look at some sample COBOL 
code written by Gilbert Saint-Flour at the bottom of this page:  
http://gsf-soft.com/Freeware/ 

In particular, COB2JOB and COB2SYS.

-- 
Dale R. Smith

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

Reply via email to