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 VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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