View previous topic :: View next topic |
Author |
Message |
vallishar Beginner
Joined: 17 Dec 2002 Posts: 53 Topics: 14 Location: BengaLuru
|
Posted: Thu Jan 02, 2003 6:31 pm Post subject: Files in online programs |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Jan 02, 2003 7:04 pm Post subject: |
|
|
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 |
|
|
RonB Beginner
Joined: 02 Dec 2002 Posts: 93 Topics: 0 Location: Orlando, FL
|
Posted: Thu Jan 02, 2003 7:49 pm Post subject: |
|
|
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 |
|
|
|
|