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
 
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: 8620
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm

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