Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Reading File name in Cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
pprulz

New User


Joined: 15 Jan 2008
Posts: 6
Location: India

PostPosted: Wed Sep 23, 2009 9:43 pm    Post subject: Reading File name in Cobol program
Reply with quote

Hi All,

Is there any way by which we can read DSN name of file in cobol program.

i.e.

//JS**** EXEC PGM=PGM1
//INFILE DD DSN=ABC.ABC.ABC

can we read name of the file "ABC.ABC.ABC" in PGM1.
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Sep 23, 2009 10:16 pm    Post subject: Reply to: Reading File name in Cobol program
Reply with quote

Review this recent (and ongoing) post -

http://www.ibmmainframes.com/viewtopic.php?t=43971&highlight=

Bill
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Sep 23, 2009 11:32 pm    Post subject: Reply to: Reading File name in Cobol program
Reply with quote

Maybe one of these previous topics will be helpful?

http://www.ibmmainframes.com/viewtopic.php?t=6604
http://www.ibmmainframes.com/viewtopic.php?t=8828
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us