Why can't we use sequential files in CICS?
Why can't we use sequential files in CICS?
Q: Why can't we use sequential files in CICS?
Answer: In the form of TDQ we can use it but not apart from that.
That was one of the question answer in one interview. But I think it's not that complete. Can someone of you plese tell me why can't we use a sequentail file in a CICS region?
Is it like CICS does not support QSAM access method? Please help with an answer.
Answer: In the form of TDQ we can use it but not apart from that.
That was one of the question answer in one interview. But I think it's not that complete. Can someone of you plese tell me why can't we use a sequentail file in a CICS region?
Is it like CICS does not support QSAM access method? Please help with an answer.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Why can't we use sequential files in CICS?
CICS is a transactional system: it was designed for someone to pull up a screen of data (often representing a single record), possibly make changes, then apply those changes to the data set / database. The concept of a sequential data set applies to batch systems: a set of records is processed as a group through the system, applying changes and possibly generating reports along the way. There are times when sequential data is handy, hence the TDQ facility of CICS -- but note that TDQ is a limited sequential processing facility. CICS terminal response time targets are often under 1 second, and you simply cannot process a lot of sequential data and maintain those response times.
Re: Why can't we use sequential files in CICS?
Thanks Robert. So what is the answer for the question of CICS not allowed to use sequential files? That, CICS won't be able to maintain the response time with in limits?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Why can't we use sequential files in CICS?
Part of the answer is that sequential data sets aren't very compatible with CICS. Also, consider locking - writing to a sequential data set requires locking at least at the record level and more likely at the data set level to prevent corruption of data. Since you can have thousands of CICS users in a single region, using a sequential data set VASTLY increases the chances of data corruption unless there are stringent locking rules applied.
-
- New Member
- Posts: 9
- Joined: Sun Aug 21, 2016 8:16 am
Re: Why can't we use sequential files in CICS?
I thought sequential files can be used with CICS even though that's very rare, is not that true?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Why can't we use sequential files in CICS?
Transient data queues are used to access sequential data, and they're not really that rare. However, otherwise using a sequential data set in CICS is something I haven't heard of in 46+ years of working with mainframes and CICS.
Re: Why can't we use sequential files in CICS?
They are not sequential files?Transient data queues are used to access sequential data, and they're not really that rare.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Why can't we use sequential files in CICS?
There are multiple types of TDQs: extrapartition point to sequential files (data sets); intrapartition are only defined and used in the CICS region (there are other types, too). So a TDQ may (or may not) be pointing to a sequential file.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute