IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

WER107A SORTOUT RECFM INCOMPATIBLE WITH REPORT WRITING


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Wed Aug 05, 2009 5:01 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Aug 05, 2009 5:06 pm
Reply with quote

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
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Wed Aug 05, 2009 5:14 pm
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Aug 05, 2009 5:36 pm
Reply with quote

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
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Thu Aug 06, 2009 9:46 am
Reply with quote

Hi Gerry,

Thanks for the reply!!!

I have corrected my JCL as per your suggestion. It is working now icon_smile.gif
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Aug 06, 2009 11:12 am
Reply with quote

That's what I like to hear, another happy customer. icon_lol.gif


Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts AI writing DFSORT, REXX codes.. All Other Mainframe Topics 3
Search our Forums:

Back to Top