View previous topic :: View next topic
|
Author |
Message |
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Code: |
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=MYID.SORTFIL1,DISP=SHR
//SORTOUT DD DSN=MYID.SORTFIL2,DISP=MOD
//SYSOUT DD SYSOUT=*
//SYMNAMES DD *
JOBNAME,S'&JOBNAME'
//SYSIN DD *
SORT FIELDS=COPY
OUTFIL TRAILER1=(JOBNAME)
/*
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Unless you post the output of the abend, you will sit there forever waiting for help.
Please provide what has been requested. |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi,
Thanks for the immediate reply!!!
Following is the SYSOUT that i have got for the above job
===============================================
SYNCSORT FOR Z/OS 1.3.1.0N U.S. PATENTS: 4210961, 5117495 (C) 2007 SYNCSO
z/OS 1.9.0
SYNCSORT LICENSED FOR CPU SERIAL NUMBER 6A590, MODEL 2094 713 LICEN
SYSIN :
SORT FIELDS=COPY
OUTFIL TRAILER1=(JOBNAME)
DATA DICTIONARY SYMBOLS SUBSTITUTED :
SORT FIELDS=COPY
OUTFIL TRAILER1=(C'Z0637543')
WER276B SYSDIAG= 1724586, 4078936, 4078936, 2522619
WER164B 8,884K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 1,012K BYTES USED
WER146B 12K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER107A SORTOUT RECFM INCOMPATIBLE WITH REPORT WRITING
WER110I SORTOUT : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
============================================
and following is the JESYSMSG
IEF236I ALLOC. FOR Z0637543 STEP1
IGD103I SMS ALLOCATED TO DDNAME SORTIN
IGD103I SMS ALLOCATED TO DDNAME SORTOUT
IEF237I JES2 ALLOCATED TO SYSOUT
IEF237I JES2 ALLOCATED TO SYMNAMES
IEF237I JES2 ALLOCATED TO SYSIN
IEF472I Z0637543 STEP1 - COMPLETION CODE - SYSTEM=000 USER=0107 REASON=00000000
IGD104I Z063754.SORTFIL1 RETAINED, DDNAME=SORTIN
IGD104I Z063754.SORTFIL2 RETAINED, DDNAME=SORTOUT
IEF285I Z063754.Z0637543.JOB59744.D0000103.? SYSOUT
IEF285I Z063754.Z0637543.JOB59744.D0000101.? SYSIN
IEF285I Z063754.Z0637543.JOB59744.D0000102.? SYSIN
**
** System: 2094_SYTG_SP7.0.9 (z/OS)
**
** Step_Name Program Code Started Ended Elapsed
** 001 STEP1 SORT U0107 06:27:38 06:27:38 :00
**
* Excps_Unit_DDName Excps_Unit_DDName Excps_Unit_D
* 3 JES2 SYSIN
*******************************************************************************
IEF373I STEP/STEP1 /START 2009217.0627
IEF374I STEP/STEP1 /STOP 2009217.0627 CPU 0MIN 00.02SEC SRB 0MIN 00.00
IEF375I JOB/Z0637543/START 2009217.0627
IEF376I JOB/Z0637543/STOP 2009217.0627 CPU 0MIN 00.02SEC SRB 0MIN 00.00
and output file doesn't have any trailer record.
Please let me know if you need any more information. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
this is your problem
Quote: |
WER107A SORTOUT RECFM INCOMPATIBLE WITH REPORT WRI |
Just code this
Code: |
OUTFIL TRAILER1=(JOBNAME),REMOVECC
|
or the output file should 81bytes long.
Gerry |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi Gerry,
Thanks for the reply!!!
I have corrected my JCL as per your suggestion. It is working now |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
That's what I like to hear, another happy customer.
Gerry |
|
Back to top |
|
|
|