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 CICS ABEND INVREQ

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
anirudh1985
Currently Banned

New User


Joined: 22 Aug 2007
Posts: 66
Location: bangalore

PostPosted: Thu Dec 27, 2007 10:49 am    Post subject: VSAM CICS ABEND INVREQ
Reply with quote

I have a CICS-VSAM application which accesses two 2 VSAM files. We added an AIX to one of them:

1) The program has a STARTBR and a READ NEXT Commands referring the file. Now, if we have added AIX the RID fld would be changing. Can anyone indicate me how to use with AIX.

2) Will there be any necessity to code in FILE-CONTROL as its an CICS-VSAM appliation?
Please help us out in implementing the AIX for the second file.

The following statements would be helpful for your reference:
EXEC CICS
STARTBR FILE('VIDMAST')
RIDFLD(CM-CUSTOMER-NUMBER)
KEYLENGTH(07)
EQUAL
RESP(RESPONSE-CODE)
END-EXEC.

VIDMAST (logical file entry in FCT)is the VSAM file to which AIX was added

CM-CUSTOMER-NUMBER is the Alternate Key.Now the query is whether we can use this in RID field

EXEC CICS
READNEXT FILE('VIDMAST')
RIDFLD(CM-CUSTOMER-NUMBER)
INTO(VIDEO-MASTER-RECORD)
RESP(RESPONSE-CODE)
END-EXEC.


Regards,
Anirudh
Back to top
View user's profile Send private message

Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Mon Dec 31, 2007 3:55 am    Post subject:
Reply with quote

aix requires a path file to be defined in CICS. Your CICS systems group
should be able to help you.
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: Tue Jan 15, 2008 7:44 am    Post subject: VSAM CICS ABEND INVREQ
Reply with quote

Is this a UNIQUE or non-UNIQUE alternate-key? If it's non-UNIQUE, then the DUPKEY condition will be raised, but you need to either handle this using the RESP (or NOHANDLE) parameter of the API or by specifying an IGNORE CONDITION DUPKEY END-EXEC statement.

If DUPKEY is raised on a UNIQUEKEY, then this is an error.

When an error condition is raised, in particular ILLOGIC, the first three-bytes of EIBRCODE provides you with a wealth of information, in regards to actual VSAM return-codes, error-codes and reason-codes.

Regards,

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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am


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