View previous topic :: View next topic
|
Author |
Message |
santosh.iim
New User
Joined: 20 Apr 2006 Posts: 9
|
|
|
|
Hi,
I have a special case where we need to read the Physical File name in COBOL module and based on the name, we have some business logic to perform.
So far, the above logic was being performed by HLASM using DTF macros.
Now we are migrating Assmebler to COBOL and are searching for replacement of above code.
Just to Simplify what we are trying to do
in JCL
//MASTER VGUNDU0.IRTCTC.TIP, DISP=SHR
In COBOL Module
File Section. SELECT MM1 ASSIGN TO MASTER.
We want to read the PHYSICAL DATASET name which is input in the JCL with some ddname, meaning COBOL module should be able to read the file name as VGUNDU0.IRTCTC.TIP.
Hope it's clear.
Please help. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
search for it, it has been asked and answered on this board - within the last two years. |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
search for TIOT |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Search for LISTDSI (Rexx function) which is for non-VSAM.
Bill |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
|