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
 

 

VB file processing error: INCONSISTENT *OUTREC

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

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Mon Mar 19, 2007 4:23 pm    Post subject: VB file processing error: INCONSISTENT *OUTREC
Reply with quote

hello,


Code:
                                                   
   INCLUDE COND=(1265,2,PD,GT,0,AND,16,2,PD,EQ,14,OR,16,2,PD,EQ,15,OR,
          16,2,PD,EQ,16)                                             
   SORT FIELDS=COPY                                                   
   OUTREC FIELDS=(5:7,9,X,16,2,X,1265,2,X,1267,4,X,1271,2,X,           
            1273,4,X,1277,8,X,1285,8,X,1293,8,X,1490,8,X,             
           1498,8,X,1506,8)                                           
RECORD TYPE IS V - DATA STARTS IN POSITION 5                         
VLSHRT NOT USED FOR SORT, MERGE, INCLUDE, OMIT OR SUM STATEMENT FIELDS
INCONSISTENT *OUTREC  IFTHEN 0 REFORMATTING FIELD FOUND               
C5-K05352 C6-Q95214 C7-K90000 C8-K05352 E9-K06751 E7-K90000

. . . . . . . . . . . . . . . . . . . . . . . .

what may be the error here?

Since my input is VB i have incremented 4 bytes in each field but still getting an error.
my output file is also a VB. lrecl=250
my input file is VB .lrecl=24994
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Mar 19, 2007 4:58 pm    Post subject:
Reply with quote

Try 1,4 as the first parameter of the OUTREC as it's a VB
Back to top
View user's profile Send private message
Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Mon Mar 19, 2007 5:21 pm    Post subject:
Reply with quote

great ..it is working..thanks a lot...
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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