MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

INREC OVERLAY & ICE027A

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
mickeygoo
Beginner


Joined: 15 Nov 2007
Posts: 26
Topics: 7

PostPosted: Wed Jun 02, 2010 3:36 pm    Post subject: INREC OVERLAY & ICE027A Reply with quote

Hope this makes sense - I did a search, couldn't find anything:

Code:
INREC OVERLAY=(81:DATE=(MD4(/))
SORT FIELDS=COPY
INCLUDE COND=(1,10,CH,EQ,81,10,CH)


I get ICE027A - END OF ___ FIELD BEYOND MAXIMUM RECORD LENGTH

So, instead, I do this:

Code:
INREC OVERLAY=(81:DATE=(MD4(/))
SORT FIELDS=COPY
OUTFIL REMOVECC,
  INCLUDE=(1,10,CH,EQ,81,10,CH)


And it works.

What am I missing Question
_________________
Not an expert, but I did stay at a Holiday Inn... though it has been a while...
Back to top
View user's profile Send private message
mickeygoo
Beginner


Joined: 15 Nov 2007
Posts: 26
Topics: 7

PostPosted: Wed Jun 02, 2010 3:37 pm    Post subject: Reply with quote

Does INCLUDE/OMIT COND statements only apply to the original (non-INREC'ed) layout?
_________________
Not an expert, but I did stay at a Holiday Inn... though it has been a while...
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Jun 02, 2010 3:58 pm    Post subject: Reply with quote

mickeygoo,

The INCLUDE COND is executed before the INREC statement and hence the error. But in the second case the INCLUDE is on OUTFIL which happens after the INREC

Check this DFSORT Processing diagram
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mickeygoo
Beginner


Joined: 15 Nov 2007
Posts: 26
Topics: 7

PostPosted: Wed Jun 02, 2010 4:01 pm    Post subject: Reply with quote

Oh, so THAT's what that drawing is all about!!!

bonk stars oops

Thank You
_________________
Not an expert, but I did stay at a Holiday Inn... though it has been a while...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group