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
 

 

Error - Report generating using SYNCSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
royalchm

New User


Joined: 15 Nov 2007
Posts: 29
Location: Bangalore

PostPosted: Tue Sep 21, 2010 12:08 pm    Post subject: Error - Report generating using SYNCSORT
Reply with quote

Hi,
I am trying the below sort card to generate asimple report for learning purpose

Code:
//SORTIN   DD DSN=LST.NEW.SORT(SORTINPT),DISP=SHR   
//REPORT01 DD DSN=LST.NEW.VARFXD3,DISP=SHR         
//SORTOUT  DD SYSOUT=*                                 
//SYSIN    DD *                                       
  SORT FIELDS=(20,1,CH,A)                             
     OUTFIL FNAMES=REPORT01,                           
     HEADER1=(2:'TIME: ',&TIME,18:,                   
          'EXPORTING MANUAL',20X,65:'DATE: ',&DATE)   
/*


But when i submitted the job, it's abending with MAXCC=16 and showing that OUTFIL synatx error. Please help me to solve this.

Please find below the SYSOUT information from spool.

SYSIN :
SORT FIELDS=(20,1,CH,A)
OUTFIL FNAMES=REPORT01,
HEADER1=(2:'TIME: ',&TIME,18:,
*
'SALLIE MAE EXPORTSS',20X,65:'DATE: ',&DATE)
WER268A OUTFIL STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message

jsathishbabu84

New User


Joined: 07 Jun 2007
Posts: 22
Location: India

PostPosted: Tue Sep 21, 2010 4:06 pm    Post subject:
Reply with quote

Try the following code

HEADER1=(2:......,18:'EXPORTING MANUAL',
20X.....)
Back to top
View user's profile Send private message
royalchm

New User


Joined: 15 Nov 2007
Posts: 29
Location: Bangalore

PostPosted: Tue Sep 21, 2010 6:06 pm    Post subject:
Reply with quote

Thanks for the helpand i submitted again but
the below error is ccoming eventhough for a small string dispaly(only TIME).

SYSIN :
SORT FIELDS=COPY
OUTFIL FNAMES=REPORT01,
HEADER1=(2:'TIME: ')

WER276B SYSDIAG= 588877, 1261293, 1261293, 1629300
WER164B 9,280K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 0 BYTES RESERVE REQUESTED, 1,408K BYTES USED
WER146B 128K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER110I SORTOUT : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER110I REPORT01 : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER107A REPORT01 RECFM INCOMPATIBLE WITH REPORT WRITING
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Tue Sep 21, 2010 6:09 pm    Post subject: Reply to: Error - Report generating using SYNCSORT
Reply with quote

WER110I SORTOUT : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER110I REPORT01 : RECFM=FB ; LRECL= 80; BLKSIZE= 800
WER107A REPORT01 RECFM INCOMPATIBLE WITH REPORT WRITING

Don't know what you're doing exactly, but it appears as if you're attempting to improperly override the output DCB parameters. The output dataset should be RECFM=FBA, unless, of course, you specify REMOVECC as part of your OUTFIL statement.
Back to top
View user's profile Send private message
royalchm

New User


Joined: 15 Nov 2007
Posts: 29
Location: Bangalore

PostPosted: Wed Sep 22, 2010 9:28 am    Post subject:
Reply with quote

I am doing this only for the learning purpose.
It's working now .... thanks for the help. icon_biggrin.gif
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 Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm


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