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
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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