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
 

 

How to get the file name in CICS region using Data set name?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Ayyappan

New User


Joined: 05 Jul 2005
Posts: 31
Location: India

PostPosted: Mon Oct 17, 2005 3:14 pm    Post subject: How to get the file name in CICS region using Data set name?
Reply with quote

Hi all,

I am new to CICS. I need to know how to find a file name using the DSName? For example, my file name in CICS region is EMPNUMAI which refers to the DSName UCTEST01.T021.EMPNUM.XREF.

I used CEMT I FI(EMPNUMAI) and it gave me the following output.

"CEMT I FI(EMPNUMAI)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(EMPNUMAI) Vsa Clo Ena Rea Upd Add Bro Del Sha
Dsn( UCTEST01.T021.EMPNUM.XREF.PATH )
"


But how can i get the file name if i know the DSName? I tried CEMT I DSName(UCTEST01.T021.EMPNUM.XREF.PATH). But it is giving me the following and not giving me the file name.

"CEMT I DSN(UCTEST01.T021.EMPNUM.XREF.PATH)
STATUS: RESULTS - OVERTYPE TO MODIFY
Dsn(UCTEST01.T021.EMPNUM.XREF.PATH )
Fil(0001) Inv
"


Thanks.
Ayyappan
Back to top
View user's profile Send private message

kick
Warnings : 1

New User


Joined: 12 Apr 2005
Posts: 24
Location: shanghai china

PostPosted: Tue Oct 18, 2005 9:25 am    Post subject:
Reply with quote

u can use such commond

cemt I FILE ( ) DSN (UCTEST01.T021.EMPNUM.XREF.PATH)

pls tell me if it can works.


cheers icon_biggrin.gif
Back to top
View user's profile Send private message
Ayyappan

New User


Joined: 05 Jul 2005
Posts: 31
Location: India

PostPosted: Tue Oct 18, 2005 10:17 am    Post subject: Re: How to get the file name in CICS region using Data set n
Reply with quote

Hi,

Thanks. It is working.

"CEMT I FI() DSN(UCTEST01.T021.EMPNUM.XREF.PATH)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(EMPNUMAI) Vsa Clo Ena Rea Upd Add Bro Del Sha
Dsn( UCTEST01.T021.EMPNUM.XREF.PATH )
"


Regards,
Ayyappan
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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