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
 

 

Syncsort: 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
srikanthrao

New User


Joined: 24 Jul 2007
Posts: 8
Location: Chennai

PostPosted: Thu Aug 02, 2007 5:06 pm    Post subject: Syncsort: RECFM incompatible with REPORT WRITING
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: 1439
Location: Bangalore,India

PostPosted: Thu Aug 02, 2007 5:10 pm    Post subject:
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    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Fri Aug 03, 2007 12:43 pm    Post subject:
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: 500
Location: USA

PostPosted: Fri Aug 03, 2007 9:01 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Aug 06, 2007 12:29 pm    Post subject:
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    Post subject:
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    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 SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 5 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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