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
 

 

what is this RDW error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Feb 02, 2006 1:40 pm    Post subject: what is this RDW error
Reply with quote

Hi,

I am trying to sort the input file and wants the output with few fields of input file....I am using Include COND & outrec for that....but I am getting an abend U0016 with sysout msg "OUTREC RDW NOT INCLUDED"....

I wrote the sort card as

SORT FIELDS=COPY
OUTREC FIELDS=(1:23,13,14:C'#',15:46,10,
25:C'#',26:112,1,
27:C'#',28:124,2,
30:C'#',31:113,1,
32:C'#',33:76,8,
41:C'#',42:184,28,
70:C'#',71:442,10,
81:C'#',82:330,4,
86:C'#',87:286,8,
95:C'#',96:56,4,
100:C'#',101:214,2)
INCLUDE COND=(56,4,CH,EQ,C'88CR',AND,
(214,2,CH,EQ,C'AP'))

plz try to help me asap....its urgent.....

and the output dataset parameters are......
DSN=..............
DCB=(RECFM=FB,LRECL=102,BLKSIZE=0),
DISP=(NEW,CATLG,DELETE),
UNIT=TESTDA,
SPACE=(CYL,(100,100),RLSE)

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

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Feb 02, 2006 1:45 pm    Post subject:
Reply with quote

RDW stands for 'record descriptor word'. SORT adds RDW to every variable-length file processed as a 4 byte number at start of record.

Try to enlarge your LRECL to 106.

O.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Feb 02, 2006 2:45 pm    Post subject:
Reply with quote

HI O,

But my output file's RECFM=FB but the input file's RECFM=VB...so is there any need to enlarge LRECL......

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Feb 02, 2006 2:48 pm    Post subject:
Reply with quote

Yes.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Feb 02, 2006 10:21 pm    Post subject:
Reply with quote

For a VB input file, the first field you specify for OUTREC must be or include the 4-byte RDW in positions 1-4, and the first data byte starts in position 5, not position 1.

Code:

   OUTREC FIELDS=(1:1,4,5:23,13,...)


Adjust all the columns and the LRECL accordingly.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


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