Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us