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
 

 

Sort Card Problem: outrec RDW not defined

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

New User


Joined: 17 Jan 2007
Posts: 4
Location: Mumbai

PostPosted: Mon Aug 06, 2007 4:30 pm    Post subject: Sort Card Problem: outrec RDW not defined
Reply with quote

Hi All,
I have a file frm which I want records pertaining to US,which is defined in 207 position in i/p file.

While trying to execute the following code ,I got outrec RDW not defined:

INCLUDE COND=(211,2,CH,EQ,C'US')
SORT FIELDS=(222,19,CH,A)
OUTREC FIELDS=(1,29,551)

My i/p file is of length 618,RECFM VB and I reatined the same for o/p file also(lrecl=618,recfm=vb).
My shope uses Syncsort and hence am unable to find useful references. icon_sad.gif .PLease suggest any good references.
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Aug 06, 2007 4:38 pm    Post subject:
Reply with quote

You need to specify 1,4 in the outrec to include the input RDW.....
But, if the output is the same as tje input, drop the OUTREC entirely.....
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Mon Aug 06, 2007 5:10 pm    Post subject:
Reply with quote

srinivas pendyala
Check this thread, http://ibmmainframes.com/viewtopic.php?t=23077&highlight=rdw
Though the link i had suggested there is for DFSORT documentation, RDW is a general case and will be handled similarly in SYNSORT.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Mon Aug 06, 2007 5:28 pm    Post subject: Re: Sort Card Problem
Reply with quote

Quote:
My shope uses Syncsort and hence am unable to find useful references. icon_sad.gif . PLease suggest any good references.


contact Alissa Margulies at zos_tech@syncsort.com, who is a member here. If your site has a valid license, she or a member of her team can e-mail you all the documentation that you can read.
Back to top
View user's profile Send private message
srinivas pendyala

New User


Joined: 17 Jan 2007
Posts: 4
Location: Mumbai

PostPosted: Mon Aug 06, 2007 6:57 pm    Post subject: Sort Card Problem
Reply with quote

Hi All,
Thanks for your time.Please3 check if this syntax is right-

INCLUDE COND=(211,2,CH,EQ,C'US')
SORT FIELDS=COPY
OUTREC FIELDS=(1,1,4,5,29,585)
I got RDW problem wven with this.
I sent a mail to Alissa requesting the same.
PLease suggest some more ideas.
Back to top
View user's profile Send private message
shankar.v

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Mon Aug 06, 2007 7:30 pm    Post subject:
Reply with quote

Quote:
My i/p file is of length 618,RECFM VB and I reatined the same for o/p file also(lrecl=618,recfm=vb).


As you are using the same DCB for output, it's not necessary to give the OUTREC FIELDS=........
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 500
Location: USA

PostPosted: Mon Aug 06, 2007 8:05 pm    Post subject: Re: Sort Card Problem: outrec RDW not defined
Reply with quote

srinivas pendyala wrote:
My shope uses Syncsort and hence am unable to find useful references.

SyncSort documentation is available to all licensed customers via our support website www.syncsort.com/support , or by contacting Syncsort directly at zos_tech@syncsort.com or 201-930-8260.
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 SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm
No new posts Db2 load job abending in SORT mistah kurtz DB2 4 Mon Jun 05, 2017 3:58 pm


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