What is the return code 160 thats what i m getting in vsam file creation?

Showing Answers 1 - 11 of 11 Answers

Selvakumar C

  • Oct 5th, 2006
 

Hi,

         There is no return code 160 in Vsam upto my knowledge. Its there in DB2 return code. Just check out it may be mainframe response code also.

  Was this answer useful?  Yes

jack

  • Nov 2nd, 2006
 

VSAM file may be empty

  Was this answer useful?  Yes

chandra dutt

  • Nov 30th, 2006
 

return code  160 means that the VSAM file is empty and you are trying to open a empty file.

  Was this answer useful?  Yes

avrkrishna

  • Apr 28th, 2007
 

You are trying to open an EMPTY VSAM file and getting return code - 160

REPRO INFILE(INPUT) OUTFILE(OUTPUT)
IDC3300I  ERROR OPENING USERID.TEST.ESDS
IDC3351I ** VSAM OPEN RETURN CODE IS 160
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12

  Was this answer useful?  Yes

VSAM return codes are documentted in the IDC3009I error message. There are too many to memorize. Either print it off or keep it in a file on our PC. Anyone working with VSAM or VSAM cats will reter to it often.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions