MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Files in online programs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Thu Jan 02, 2003 6:31 pm    Post subject: Files in online programs Reply with quote

Hi

I would like to know whether it is possible to use flat files, to read or to write into, in an online CICS program.

regards
Vallish
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Jan 02, 2003 7:04 pm    Post subject: Reply with quote

Vallishar,

You can not use a QSAM files in CICS.The only type of files that can be used in CICS are VSAM,IAM,BDAM files as they are all random access type.

But CICS has Transient Data Queues(TDQ's) which provides a convenient way to use simple sequential files called destinations. Whenever a record is written to a destination it is added to the end. A task reads the first from destination, which gets deleted.

Hope this helps...

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RonB
Beginner


Joined: 02 Dec 2002
Posts: 93
Topics: 0
Location: Orlando, FL

PostPosted: Thu Jan 02, 2003 7:49 pm    Post subject: Reply with quote

Minor point. Not all VSAM files are "RANDOM ACCESS TYPE". CICS also supports ESDS files, and they are of a SEQUENTIAL ACCESS TYPE. Not to mention, of course that you can access KSDS files sequentially following a START BROWSE.

Ron
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group