View previous topic :: View next topic
|
Author |
Message |
srinivas pendyala
New User
Joined: 17 Jan 2007 Posts: 4 Location: Mumbai
|
|
|
|
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. .PLease suggest any good references. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
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 |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
srinivas pendyala
New User
Joined: 17 Jan 2007 Posts: 4 Location: Mumbai
|
|
|
|
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 |
|
|
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
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 |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
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 |
|
|
|