Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
OUTREC RDW not included
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Wed Aug 27, 2008 6:22 pm    Post subject:
Reply with quote

Quote:
OUTPUT LRECL DIFFERS FROM SORTOUT LRECL


Sysout will show you the Output LRECL as well as Sortout LRECL. Make it same.

Thanks,
Arun
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


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

PostPosted: Wed Aug 27, 2008 6:43 pm    Post subject:
Reply with quote

This thread is Unnecessarily toooo long.. grin..
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Wed Aug 27, 2008 6:55 pm    Post subject:
Reply with quote

Suneel,

From whatever have been posted so far, i dont see your output file format. Is it an FB file or VB file? if your output is an FB file you need to use the CONVERT option in OUTREC.
Quote:
This thread is Unnecessarily toooo long.. grin..
Anuj,

Sorry for making it much longer.

Thanks,
Arun
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 27, 2008 7:11 pm    Post subject:
Reply with quote

Quote:
Sorry for making it much longer.

Methinks that the above quote should have come from the OP icon_lol.gif
Back to top
View user's profile Send private message
suneelv

New User


Joined: 26 Aug 2008
Posts: 52
Location: inida

PostPosted: Thu Aug 28, 2008 12:28 pm    Post subject: Reply to: SYNCSORT - OUTREC RDW NOT INCLUDED
Reply with quote

Hi Everyone,

Now i corrected all the things and working fine with below control card

//SYSIN DD *
OPTION COPY,
STOPAFT=1000
OUTREC BUILD=(1,4,65)
/*

Thanks & Rgds
Suneel
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Aug 28, 2008 12:33 pm    Post subject:
Reply with quote

Hi,

so what happens to the remainder of records ?

and why stop at 1000 ?


Gerry
Back to top
View user's profile Send private message
suneelv

New User


Joined: 26 Aug 2008
Posts: 52
Location: inida

PostPosted: Thu Aug 28, 2008 12:36 pm    Post subject: Reply to: SYNCSORT - OUTREC RDW NOT INCLUDED
Reply with quote

Hi Gerry,

The file contains Millions of records just for try i copied only first 1000 records.

Regards
Suneel
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Aug 28, 2008 12:45 pm    Post subject:
Reply with quote

Hi,

but the same statement failed earlier ????? without the STOPAFT parameter.

So how is it going to work now ?

Gerry
Back to top
View user's profile Send private message
suneelv

New User


Joined: 26 Aug 2008
Posts: 52
Location: inida

PostPosted: Thu Aug 28, 2008 1:04 pm    Post subject: Reply to: SYNCSORT - OUTREC RDW NOT INCLUDED
Reply with quote

Hi,

Earlier there is mismatch in the LRECL in the OUTPUT and SORTOUT LRECL. I made it same.

Regards
Suneel
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: Thu Aug 28, 2008 1:05 pm    Post subject:
Reply with quote

There are some options in DFSORT that allow for short records.

I suggest that you take a look at the SYNCSORT manual and see if the equivilent exists and use them.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Aug 28, 2008 1:05 pm    Post subject:
Reply with quote

Well, post the SYSOUTs from both the JOBs- one which was executed & other which was not..
Back to top
View user's profile Send private message
suneelv

New User


Joined: 26 Aug 2008
Posts: 52
Location: inida

PostPosted: Thu Aug 28, 2008 2:26 pm    Post subject: Reply to: SYNCSORT - OUTREC RDW NOT INCLUDED
Reply with quote

Anju,

Below is Sysout for the abended job:

SYSIN :
OPTION COPY
OUTREC BUILD=(1,4,65)
WER276B SYSDIAG= 0, 689181, 689181, 1740143
WER164B 8,880K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 100K BYTES RESERVE REQUESTED, 1,008K BYTES USED
WER146B 16K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=VB ; LRECL= 4004; BLKSIZE= 27998
WER237I OUTREC RECORD LENGTH = 3944
WER110I SORTOUT : RECFM=VB ; LRECL= 3943; BLKSIZE= 27998
WER462I OUTPUT LRECL DIFFERS FROM SORTOUT LRECL
WER247A SORTOUT HAS INCOMPATIBLE LRECL
WER425A CONVERT FEATURE CANNOT BE USED WITH OVERLAY OR IFTHEN
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000

Sysout for Sucessful job:

SYSIN :
OPTION COPY,
STOPAFT=1000
OUTREC BUILD=(1,4,65)
WER276B SYSDIAG= 193573, 689181, 689181, 1715754
WER164B 8,880K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 100K BYTES RESERVE REQUESTED, 1,009,512 BYTES USED
WER146B 16K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SORTIN : RECFM=VB ; LRECL= 4004; BLKSIZE= 27998
WER237I OUTREC RECORD LENGTH = 3944
WER110I SORTOUT : RECFM=VB ; LRECL= 4004; BLKSIZE= 27998
WER462I OUTPUT LRECL DIFFERS FROM SORTOUT LRECL

RCD IN 1000, OUT 1000

Rgds
Suneel
Back to top
View user's profile Send private message
sampathkmn
Warnings : 1

New User


Joined: 12 Dec 2005
Posts: 31
Location: bangalore

PostPosted: Thu Aug 28, 2008 2:46 pm    Post subject:
Reply with quote

If the i/p file is VB, in ur jcl above o/p file DCB parameters are not mentioned, and the job can't create a FB file.
code DCB parameter with RECFM=FB, and code control card as below:
SORT FIELDS=COPY
OUTREC BUILD=(5:65,3943)
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: Thu Aug 28, 2008 2:55 pm    Post subject:
Reply with quote

sampathkmn wrote:
If the i/p file is VB, in ur jcl above o/p file DCB parameters are not mentioned, and the job can't create a FB file.
code DCB parameter with RECFM=FB, and code control card as below:
SORT FIELDS=COPY
OUTREC BUILD=(5:65,3943)

If you bother to look at the posted output you might notice that both input and output are VB.
Back to top
View user's profile Send private message
Shankerraghu

New User


Joined: 19 Nov 2008
Posts: 1
Location: Chennai

PostPosted: Wed Nov 19, 2008 6:17 pm    Post subject: Reply to: SYNCSORT - OUTREC RDW NOT INCLUDED
Reply with quote

Please try the below code
OUTFIL FNAMES=SORTOUT,VTOF,
OUTREC=(1:25,7,2X,10:32,7,4X)

The outrec and inrec position can be chaged according to your need.

:)
Back to top
View user's profile Send private message
meenal_mainframes
Warnings : 1

New User


Joined: 07 Jul 2006
Posts: 9
Location: USA

PostPosted: Wed Jul 22, 2009 12:31 am    Post subject: Reply to: SYNCSORT - OUTREC RDW not included
Reply with quote

Hi,

I tried the following Code post by gcicchet and it worked

OPTION COPY
OUTREC BUILD=(1,4,65)

Thanks a lot gcicchet!
Back to top
View user's profile Send private message
babuz87

New User


Joined: 03 Mar 2017
Posts: 1
Location: Italy

PostPosted: Tue Aug 08, 2017 3:23 pm    Post subject: Reply to: OUTREC RDW not included
Reply with quote

can anyone explain why STOPAFT=1000 resolves RDW problems? thx
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1894
Location: UK

PostPosted: Tue Aug 08, 2017 3:50 pm    Post subject:
Reply with quote

Do not resurrect old topics.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts SORT- outrec ram_vizag DFSORT/ICETOOL 10 Tue Sep 27, 2016 12:50 am
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am
No new posts OUTREC RDW NOT INCLUDED krsenthil85 SYNCSORT 10 Fri May 06, 2016 3:22 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us