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

Writing ICETOOL job as a PROC


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

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Tue Feb 05, 2008 3:27 pm
Reply with quote

Hi All,
I have written an ICETOOL job. Now, I want to make it as a PROC and call from another Job. But as I saw, PROCs are not allowed to have instream data (if I'm not wrong). And my job has lot of instream statements which is not physible to take in PS file and use them.

So is there any other way to solve this problem ??

--Parag
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Feb 05, 2008 3:48 pm
Reply with quote

We have a PDS called PARMDATA that we use to hold control cards for sorts, unloads, reorg's etc. You just reference that in your proc.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Feb 05, 2008 4:22 pm
Reply with quote

Craq Giegerich wrote:
We have a PDS called PARMDATA that we use to hold control cards for sorts
DATALIB You are taking about here...?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Feb 05, 2008 4:26 pm
Reply with quote

Anuj D. wrote:
Craq Giegerich wrote:
We have a PDS called PARMDATA that we use to hold control cards for sorts
DATALIB You are taking about here...?


Call it anything you like, depends on your sites naming standards.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Feb 05, 2008 4:38 pm
Reply with quote

I thought it was a common practice..
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 Feb 05, 2008 9:58 pm
Reply with quote

Parag,

As indicated, you can use PDS members for the control statement data sets. For example:

Code:

//S1    EXEC  PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG  DD SYSOUT=*
//IN DD DSN=...
//OUT DD DSN=...
//TOOLIN DD DSN=MYPDS(TOOLIN1),DISP=SHR
//CTL1CNTL DD DSN=MYPDS(CTL1),DISP=SHR


Just be sure the PDS has RECFM=FB and LRECL=80.
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Thu Feb 07, 2008 12:30 pm
Reply with quote

Thanks Frank !
It looks a good way !

--Parag
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 Two input files & writing counter... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
Search our Forums:

Back to Top