IDCAMS VERIFY & RETURN CODE 12



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

IDCAMS VERIFY & RETURN CODE 12

Postby dulingyun@gmail.com » Wed Sep 15, 2010 2:09 pm

Hi,
i have a need to verify whether a particular vsam file is created already or not. while i tried to execute the code, the error message is as follows

********************************* TOP OF DATA **********************************
IDCAMS SYSTEM SERVICES TIME: 16:05:15

VERIFY FILE(U66)
IDC3302I ACTION ERROR ON ALCHY.LDTP01.V0000
IDC3351I ** VSAM I/O RETURN CODE IS 116 - RPLFDBWD = X'B0080074'
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12
******************************** BOTTOM OF DATA ********************************


IEF237I JES2 ALLOCATED TO SYSOUT
IEF237I JES2 ALLOCATED TO SYSPRINT
IEF237I JES2 ALLOCATED TO SYSIN
IEF142I ASNPG57V VERIFY - STEP WAS EXECUTED - COND CODE 0012
IGD104I ALCHY.LDTP01.V0000 RETAINED, DDNAME=U66
IEF285I ASNPG57.ASNPG57V.JOB05363.D0000102.? SYSOUT
IEF285I ASNPG57.ASNPG57V.JOB05363.D0000103.? SYSOUT
IEF285I ASNPG57.ASNPG57V.JOB05363.D0000101.? SYSIN
IEF373I STEP/VERIFY /START 2010258.1605
IEF374I STEP/VERIFY /STOP 2010258.1605 CPU 0MIN 00.03SEC SRB 0MIN 00.00
IEF375I JOB/ASNPG57V/START 2010258.1605
IEF376I JOB/ASNPG57V/STOP 2010258.1605 CPU 0MIN 00.03SEC SRB 0MIN 00.00


when i checked manually, the VSAM file exists.
anyone please tell what is the return code for the verify command when the file exists and what is the return code of 116 stands for.

Thanks,
du
dulingyun@gmail.com
 
Posts: 3
Joined: Mon Sep 06, 2010 2:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IDCAMS VERIFY & RETURN CODE 12

Postby Robert Sample » Wed Sep 15, 2010 3:09 pm

I think you are misinformed. The VERIFY command of IDCAMS is used to check that the index and data components of a KSDS are synchronized (if a job abends while using the file, the index and data components may not have been successfully updated together). The VERIFY command is not used to determine whether or not a file exists. If you look up the IDC error message in the Messages and Codes manual, you can find out exactly what the 116 return code means.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post