View previous topic :: View next topic
|
Author |
Message |
ParagChouguley
Active User
Joined: 03 Feb 2007 Posts: 175 Location: PUNE(INDIA)
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I thought it was a common practice.. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
ParagChouguley
Active User
Joined: 03 Feb 2007 Posts: 175 Location: PUNE(INDIA)
|
|
|
|
Thanks Frank !
It looks a good way !
--Parag |
|
Back to top |
|
|
|