Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2502
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us