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
 

 

Can we access VSAM file being used in CICS from TSO?

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

New User


Joined: 24 May 2006
Posts: 6

PostPosted: Wed May 24, 2006 4:13 pm    Post subject: Can we access VSAM file being used in CICS from TSO?
Reply with quote

Hi,
Suppose in my online program, I have a VSAM file which I update for some non-key information via a trans id and then close the file using CEMT and then go to TSO and using FILE-AID, try to browse the file? Is it possible to do it? Can I also perform the normal FILE-AID functions on this file like deleting or inserting a record?
Also, in order to go again to CICS and use this file to delete or insert/update any record, do I have to do anything in particular like explicitly open the file in CICS etc?
If anyone could provide any details, it would be very helpful.
TIA,
MFP
Back to top
View user's profile Send private message

gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Wed May 24, 2006 4:40 pm    Post subject:
Reply with quote

Flow would be like this.
1. Online PGM updates your VSAM file data and transaction is successful. At this point of time update is committed and VSAM file data is physically updated.
2. CEMT S FI(file_Name) Clo Dis. This will close the file in CICS region. Now the file will be available to be accessed in TSO. Remember that at this time no online transaction can use the file. any transaction which tries to will five file not open error.
3. You can read/edit the data in file using batch job/file-aid after this.
4. Once you are done with the use of file in batch, go to CICS and CEMT S FI(File_Name) Ope Ena. This will Open the file in CICS region. This is necessary, because until this no online transaction can use the file.
Back to top
View user's profile Send private message
Mfprogrammer

New User


Joined: 24 May 2006
Posts: 6

PostPosted: Wed May 24, 2006 5:05 pm    Post subject:
Reply with quote

Thanks a lot, gsk.
Your post has definitely cleared my doubt. I've yet to try it but when I do and have any problems, I'll let you know.
thanks again.
MFP
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Jul 26, 2006 12:15 am    Post subject: Re: Can we access VSAM file being used in CICS from TSO?
Reply with quote

Check new vendor software from HostBridge Tehcnology. Allows for writing Batch Cobol programs to logically process CICS resources.

You can update the CICS file from batch program without closing the online file.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 26, 2006 11:13 am    Post subject: Hi
Reply with quote

One can rely on RLS VSAM mode which uses the coupling facility of VSAM that enables multiples trnsactions to update the same VSAM file.

-Han.
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 find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
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