Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Thu Oct 07, 2004 11:03 am Post subject:
pgorthi,
You don't need 2 steps to copy/create the dataset with date and time. Also you have disp parameters as pass. So at the end of the job , they get deleted. Is your ISCP02.TEST.AFILE a PDS? If it is then you need to change your allocation. Use soltion 1 for copying a sequential dataset and solution 2 for copying a PDS
Method:1
thanks your kind response.
ISCP02.TEST.AFILE data set is PS. i tried first method but not working.
i am getting this type of error message please correct
Code:
1 J E S 2 J O B L O G -- S Y S T E M C P U A -- N O D E P M I S J R C
0
03.16.56 JOB06760 ---- FRIDAY, 08 OCT 2004 ----
03.16.56 JOB06760 IEFC452I ISCP02AT - JOB NOT RUN - JCL ERROR 776
0------ JES2 JOB STATISTICS ------
0 18 CARDS READ
0 32 SYSOUT PRINT RECORDS
0 0 SYSOUT PUNCH RECORDS
0 2 SYSOUT SPOOL KBYTES
0 0.00 MINUTES EXECUTION TIME
1
1 //ISCP02AT JOB (TTSOMFG0,OFF,1440,0050,0050), JOB06760
// 'PANI',
// CLASS=1,
// MSGCLASS=X,
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//* $ACFJ219 ACF2 ACTIVE PMISJRC ACF2
//*
IEFC653I SUBSTITUTION JCL - (TTSOMFG0,OFF,1440,0050,0050),'PANI',CLASS=1,MSGCLASS=X,MSGLEVEL=(1,1),
NOTIFY=ISCP02
2 //STEP0100 EXEC PGM=SORT
3 //SYSOUT DD SYSOUT=*
4 //SORTIN DD DSN=ISCP02.TEST.AFILE,
// DISP=SHR
5 //SORTOUT DD DSN=&SYSUID..D041008.T031656,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(10,10),RLSE),
IEFC653I SUBSTITUTION JCL - DSN=ISCP02.D041008.T031656,DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(10,10),RLSE),
6 //SYSIN DD *
1
STMT NO. MESSAGE
5 IEFC621I EXPECTED CONTINUATION NOT RECEIVED
Include the below
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=800)
after this
// SPACE=(CYL,(10,10),RLSE),
and try it again.
P.S: Though the Error has nothing to do with a DCB parameters directly, when you have a comma at the end of a JCL statement it indicates continuation and it is missing in your Sortout statement.
Thanks ur suggestion. i tried inclusing the comma and excluding the comma even though it not working. what u suggested about dcb and space i included even though i am getting same problem.
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Fri Apr 07, 2006 1:00 am Post subject:
Info_seeker,
When using Sort you might sometimes get an SOC4 due to Space constraint. Try reducing the amount of space allocated to your output file or redirect it to tape or try using compressed volume.
When I try running the same generated JCL from spool it goes through fine. I am getting SoC4 only when second job is getting dubmitted by INTRDR.
Kolusu,
There are no messages in SYSOUT for sort. JESYSMSG is giving the message,
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000011
TIME=17.46.23 SEQ=31986 CPU=0000 ASID=00B1
PSW AT TIME OF ERROR 078D0000 0001F7EA ILC 4 INTC 11
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
As I said before, If I submit the generated JCL from spool, SORT goes through fine.
Ooops.. I got what I was doing wrong.. Instream sort control data was not getting recognized by the job submitted through INTRDR. And so the abend. I changed instream data to point to a PDS and it works fine.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Fri Apr 07, 2006 9:42 am Post subject:
Quote:
When using Sort you might sometimes get an SOC4 due to Space constraint.
Phantom,
You should NOT get an S0C4 due to space constraint. Is this something you actually experienced? With which sort product? Did you report it? _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum