View previous topic :: View next topic
|
Author |
Message |
xpower
New User
Joined: 07 May 2006 Posts: 35
|
|
|
|
Hi, Everybody
Now I trig one transaction XXXX, which will write many records into a ESDS file. what confused me is that when trans is done without any abend, then i checked the esds file, it only include 272 records, however, in fact, it should have 7000+ records. after then, i close the ESDS file, i can check all of the reocrds (7000+) has been written to the esds file.Opps, why ?
Can anybody help me explian why ? by the way, resp=83,resp2=2 --> what's the problem ? i can not find them.
Thanks a lot ahead.
Have a nice day.
best regards
Shaw |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Until you close and reopen the file, CICS won't flush the buffers (unless the file is LSR and CICS needs them for another file). Therefore, until you close and reopen the file you normally will not see all the records written to the file.
There is a link to manuals at the top of the page. If you check the CICS Language Reference manual, Appendix A, on the EIB fields you will find that EIBRESP of 83 means END. The RESP2 value depends upon the precise CICS command being executed -- without knowing that, there's no way to state what it means. |
|
Back to top |
|
|
xpower
New User
Joined: 07 May 2006 Posts: 35
|
|
|
|
hehe, thanks Robert. do you know how to define the file to be LSR. in other words, how can i get all of the records without close/reopen . appreciate your post. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
LSR will not let you view all the records without a close -- LSR means the buffers are shared between multiple files, so the buffers may (or may not, depending on how active the LSR pool's files are) get flushed faster.
The only way I know of to ensure all the records are available for viewing is to close and open the file in CICS.
Putting a file into an LSR pool requires looking at several factors, which is why it typically is done by the site support group. If you can use the CEDC transaction, you can determine whether the file already is in an LSR pool. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
then i checked the esds file, |
how did you check the file?
keep in mind, another cics transaction can read these new records, as well as ceci can display them.
if you attempted to 'see' these new records via a batch process, your lack of technical understanding lead you to an incorrect conclusion. |
|
Back to top |
|
|
xpower
New User
Joined: 07 May 2006 Posts: 35
|
|
|
|
Hi Robert,
Umm...I got it. Many Thanks. and i check the file has been already in lsr pool.
Hi, Dick,
the file is not used in batch process, just create theses file to check some information of these records by us . And many thanks to you as well. |
|
Back to top |
|
|
|