IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Use of OVERLAY in ICETOOL


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ranjitherdci

New User


Joined: 17 Jun 2008
Posts: 10
Location: Bangalore

PostPosted: Tue Jun 17, 2008 3:01 pm
Reply with quote

Could someone explain me the use of overlay in icetool?
I am new to icetool.

Code:

//CTL1CNTL DD *                         
  INREC OVERLAY=(100:C'1')             
/*     


what is this '100' in overlay means?
Actually what is overlay's function?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Jun 17, 2008 3:53 pm
Reply with quote

ranjit,

Quote:
Could someone explain me the use of overlay in icetool?


Take a look at the DFSORT manual available in this site.

Quote:
//CTL1CNTL DD *
INREC OVERLAY=(100:C'1')
/*
what is this '100' in overlay means?


As per the above sort card you are updating the 100th byte in the output file with the character "1".
Back to top
View user's profile Send private message
ranjitherdci

New User


Joined: 17 Jun 2008
Posts: 10
Location: Bangalore

PostPosted: Tue Jun 17, 2008 5:37 pm
Reply with quote

Thanks alot aaru..

Could you please explain the following also

Code:

//CTL1CNTL DD *                               
  OUTFIL FNAMES=T1,BUILD=(1,10,101:1,10)     
/*


what does BUILD in the above sort card means
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Jun 17, 2008 6:33 pm
Reply with quote

ranjith,

Quote:
//CTL1CNTL DD *
OUTFIL FNAMES=T1,BUILD=(1,10,101:1,10)
/*
what does BUILD in the above sort card means


By BUILD you are building your output record. Here in the output record you will have

1,10 -> first 10 bytes from input starting from pos 1 in the output.

101:1,10 -> Again in the 101st byte you will have the first 10 bytes of the input record.


Better read the manual and post your queries. Click the below link for the manual.



DFSORT Getting started
Back to top
View user's profile Send private message
ranjitherdci

New User


Joined: 17 Jun 2008
Posts: 10
Location: Bangalore

PostPosted: Tue Jun 17, 2008 7:13 pm
Reply with quote

Thank u so much..
I will also look into this material..
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Jun 17, 2008 9:46 pm
Reply with quote

Ranjith,

For an explanation of DFSORT's BUILD and OVERLAY functions, see:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CG20/2.4?DT=20060615173822

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

Use [URL] BBCode for External Links
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts ICETOOL to Read records SMF CEF it is... DFSORT/ICETOOL 4
Search our Forums:

Back to Top