Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

WER107A SORTOUT RECFM INCOMPATIBLE WITH REPORT WRITING

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: WER107A SORTOUT RECFM INCOMPATIBLE WITH REPORT WRITING
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: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 05, 2009 5:06 pm    Post subject:
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    Post subject:
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: 1703
Location: Australia

PostPosted: Wed Aug 05, 2009 5:36 pm    Post subject:
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    Post subject:
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: 1703
Location: Australia

PostPosted: Thu Aug 06, 2009 11:12 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Using 'parm' to vary SORTOUT record v... Sysaron DFSORT/ICETOOL 13 Wed Sep 07, 2016 9:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us