Joined: 06 Jun 2008 Posts: 8455 Location: Dubuque, Iowa, USA
The CICS Language Reference manual lists valid RESP2 values for an EXEC CICS READ that returns INVREQ RESP as ranging from 20 to 59. Your -502 is way outside those ranges, so the possibilities are:
- you are doing your EXEC CICS READ on a non-system z machine (using Microfocus for example), in which case you need to consult their documentation
- you are incorrectly formatting RESP2 and getting the invalid value that way
- you are mis-interpreting the actual value to be -502
You will need to do additional investigation to figure out what the actual value is and what it tells you about your EXEC CICS READ command.