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 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
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm


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