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
 
Writing ICETOOL job as a PROC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Writing ICETOOL job as a PROC
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    Post subject:
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

Senior Member


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

PostPosted: Tue Feb 05, 2008 4:22 pm    Post subject:
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    Post subject:
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

Senior Member


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

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

I thought it was a common practice..
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


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

PostPosted: Tue Feb 05, 2008 9:58 pm    Post subject:
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm

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