View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Mar 13, 2006 10:03 am Post subject: Check for the emptiness of the ps file |
|
|
Hi,
My following job is abending with RC=12.
Code: |
//CAMS02 EXEC PGM=IDCAMS
//FILE0I DD DSN=TXXXXX.XXXXX.XXXX1,DISP=SHR
//FILE0O DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO -
INDATASET(FILE0I) -
OUTDATASET(FILE0O) -
COUNT(1)
/*
//
|
The SYSPRINT shown the below:
Code: |
IDCAMS SYSTEM SERVICES
REPRO -
INDATASET(FILE0I) -
OUTDATASET(FILE0O) -
COUNT(1)
IKJ56228I DATA SET FILE0O NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12
|
I don't know why it is considering the DUMMY as a file and abending with RC=12. Please help.
Thanks. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
mf_user Intermediate
Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Mar 13, 2006 10:31 am Post subject: |
|
|
Thanks a lot Kolusu. That was new information to me. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
|
|
|