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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 0 Tue Jan 17, 2017 4:26 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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