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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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