Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
VSAM - INVREQ(RESP 16) while STARTBR a file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Senthilkumar k
Warnings : 1

New User


Joined: 07 May 2009
Posts: 51
Location: Chennai

PostPosted: Wed Aug 05, 2009 3:11 pm    Post subject: VSAM - INVREQ(RESP 16) while STARTBR a file.
Reply with quote

I am getting the error message saying INVREQ(RESP 16) while doing STARTBR for a VSAM file. I am initializing the key and doing the STARTBR, find the code below,

INITIALIZE FILE-KEY-SO(first 22bytes is key)
EXEC CICS STARTBR
FILE ("SOFILE")
RIDFLD (FILE-KEY-SO)
GTEQ
NOHANDLE
END-EXEC.

SOFILE file is containing the below value,

09200920010600000000009200106090000000000000000011FHA017009042009041120090414070
09200920010647212030209200106092000000047212030212009041410920000000000000000000
09200920285300000000009202853090000000000000000011FHD042767002009051620090518150
09200920285356233060109202853092000000056233060112009051810920000000000000000000
09200920416000000000009204160090000000000000000011FHA034589002009060220090603180
09200920416055713160209204160092000000055713160212009060410920000000000000000000
09200920523300000000009205233090000000000000000011FHA016234002009061520090616180

Could any one help me......
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 05, 2009 4:15 pm    Post subject: Reply to: VSAM - INVREQ(RESP 16) while STARTBR a file.
Reply with quote

If you initialize the key to all LOW-VALUES, the INVREQ should go away.

Optionally and as a failsafe, before issuing the STARTBR, issue an ENDBR NOHANDLE just in case a previous browse had been issued and an ENDBR had not been issued.

Also, always use a KEYLENGTH, in case the file ever becomes REMOTE.

Your System folks will appreciate this.

Bill
Back to top
View user's profile Send private message
Senthilkumar k
Warnings : 1

New User


Joined: 07 May 2009
Posts: 51
Location: Chennai

PostPosted: Wed Aug 05, 2009 4:35 pm    Post subject:
Reply with quote

Thanks for your valuable information Bill....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us