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

Sort Card Problem: outrec RDW not defined


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Mon Aug 06, 2007 4:38 pm
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
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: 6966
Location: porcelain throne

PostPosted: Mon Aug 06, 2007 5:28 pm
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
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
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: 496
Location: USA

PostPosted: Mon Aug 06, 2007 8:05 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top