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

Syncsort: RECFM incompatible with REPORT WRITING


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

New User


Joined: 24 Jul 2007
Posts: 8
Location: Chennai

PostPosted: Thu Aug 02, 2007 5:06 pm
Reply with quote

hi,
this is my sort card

SORT FIELDS=COPY
OUTFIL HEADER1=(01:'INSTRUMENT ID',
15:'LOAN NUMBER',
28:'ASSET PRICE',
50:'MARKET PRICE',
71:'DATE'/)
OUTREC FIELDS=(1:1,10,15:11,04,BI,LENGTH=09,28:15,10,PD,
LENGTH=18,50:25,10,PD,LENGTH=18,71:35,10)

my infile n out file are of rec length 80 n recfm = FB.

i need to write the header mentioned above in to out file.
when i use this sort card its throwing error saying[ RECFM INCOMPATIBLE WITH REPORT WRITING] can any one help me.

Topic changed from report........
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Aug 02, 2007 5:10 pm
Reply with quote

Srikanth,

Your OP file recfm should be FBA or introduce REMOVECC in the sortcard (after outfil before header1).
Back to top
View user's profile Send private message
srikanthrao

New User


Joined: 24 Jul 2007
Posts: 8
Location: Chennai

PostPosted: Fri Aug 03, 2007 11:30 am
Reply with quote

hi murali,

i had got the o/p by changing recfm to FBA but REMOVECC has n't worked for me.

Thanks for u help
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Aug 03, 2007 12:43 pm
Reply with quote

Srikanth,

Quote:
REMOVECC has n't worked for me.

REMOVECC is a DFSORT option. I had provided it by mistake icon_redface.gif .

Good to see FBA worked for you.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Fri Aug 03, 2007 9:01 pm
Reply with quote

Quote:
REMOVECC is a DFSORT option.

REMOVECC is a valid SyncSort Parameter in the OUTFIL statement.

When REMOVECC is used, the LRECL does not require an extra byte for the carriage control character, and the RECFM does not require the 'A' (for ANSI); thus you would specify FB, not FBA.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 06, 2007 12:29 pm
Reply with quote

Alissa Margulies wrote:
REMOVECC is a valid SyncSort Parameter in the OUTFIL statement.
Yup, it's, tried the following JCL & it's working for me(SyncSort site).

Code:
//STEP002 EXEC PGM=SORT                                         
//SYSOUT  DD  SYSOUT=*                                         
//SORTIN  DD *                                                 
//SORTOUT DD DSN=HLQ.TEST.SYSTEM.DATE,DISP=(NEW,CATLG,DELETE)
//SYSIN   DD    *                                               
  OPTION COPY                                                   
  OUTFIL REMOVECC,NODETAIL,                                     
    TRAILER1=(DATE=(MD4-))                                     
/*                                                             


Hope this helps.
Back to top
View user's profile Send private message
0d311

Guest





PostPosted: Mon Aug 06, 2007 1:29 pm
Reply with quote

Wow, now we've got representatives for both DFSORT and SyncSort. icon_lol.gif
Back to top
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 WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 7
No new posts Compare only first records of the fil... SYNCSORT 7
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
Search our Forums:

Back to Top