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
 
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 -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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