IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top