READ a VSAM after STARTBR?

Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems
huxianjun
Posts: 23
Joined: Thu Jul 21, 2016 10:10 pm
Skillset: CICS/COBOL/JCL
Referer: Google search

READ a VSAM after STARTBR?

Postby huxianjun » Tue Apr 10, 2018 9:40 pm

Hello

In a CICS program, after execution of STARTBR a VSAM(KSDS) file, what if CICS READ instead of CICS READNEXT is next immediate codes to be executed?


Thanks, Roy

Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
Referer: other forum
Location: Dubuque, Iowa, USA

Re: READ a VSAM after STARTBR?

Postby Robert Sample » Wed Apr 11, 2018 12:08 am

What happened when you tried it?

huxianjun
Posts: 23
Joined: Thu Jul 21, 2016 10:10 pm
Skillset: CICS/COBOL/JCL
Referer: Google search

Re: READ a VSAM after STARTBR?

Postby huxianjun » Mon Apr 16, 2018 5:42 am

It abends with AFCY, then it's resolved by increasing the # of string for the VSAM file.


  • Similar Topics
    Replies
    Views
    Last post