View previous topic :: View next topic
|
Author |
Message |
mohammad amir ashraff
New User
Joined: 08 Feb 2008 Posts: 23 Location: Hyderabad
|
|
|
|
Hi,
I wanted to know what would be the EIBRESP code if I was executing a STARTBR command on an EMPTY VSAM file in a CICS program.
I need to know this so that I can handle the EMPTY VSAM file condition in my program.
Thanks. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
You'll raise a NOTFND condition, providing your KEYLENGTH is the full-length (not GENERIC) and the RIDFLD is all X'00's.
You can experiment with this using IBM Transid CECI.
The EIBRCODE=X'810000000000'
The EIBRESP=F'13' (X'0D') |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
You are defining "EMPTY VSAM" as a VSAM file that was opened for output, had a record written, and that record was deleted, right? |
|
Back to top |
|
|
mohammad amir ashraff
New User
Joined: 08 Feb 2008 Posts: 23 Location: Hyderabad
|
|
|
|
Robert Sample wrote: |
You are defining "EMPTY VSAM" as a VSAM file that was opened for output, had a record written, and that record was deleted, right? |
yes that's right. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
if you would bother to look at the manual,
you can see, in addition to syntax,
but a list of conditions that can affect (or be effected) by the CICS API Instruction.
in this case STARTBR
there's all kinds of stuff to be found in the manuals. |
|
Back to top |
|
|
|