iehprogm



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

iehprogm

Postby ravi30 » Wed Dec 19, 2007 4:04 pm

//HERC01P JOB (HERC01),'IEHPROGM',CLASS=A,MSGCLASS=X,
// MSGLEVEL=(1,1),NOTIFY=HERC01
//*
//STEP010 EXEC PGM=IEHPROGM,REGION=1024K
//*
//SYSPRINT DD SYSOUT=X
//DD1 DD UNIT=3350,VOL=SER=TMP000,DISP=OLD
//*
//SYSIN DD *
CATLG DSNAME=HERC01.TEMP.SOURCE,VOL=3350=TMP000
/*


here what does the dd1 and catlg statements imply exactly?
ravi30
 
Posts: 11
Joined: Wed Dec 19, 2007 3:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: iehprogm

 

Re: iehprogm

Postby dick scherrer » Wed Dec 19, 2007 11:10 pm

Hello,

dd1 - where to perform the specified operation
catlg - specifies what operation to perform
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: iehprogm

Postby ravi30 » Thu Dec 20, 2007 10:27 pm

so what abt the vol=ser=tmp000
does it tell that the particular dataset should be stored in tmp000 volume of the unit 3350. if so do we have to provide the volume in both the statements.
thanx
ravi30
 
Posts: 11
Joined: Wed Dec 19, 2007 3:42 pm
Has thanked: 0 time
Been thanked: 0 time

Re: iehprogm

Postby dick scherrer » Thu Dec 20, 2007 10:40 pm

Hello,

so what abt the vol=ser=tmp000

That is what IEHPROGM expects.

does it tell that the particular dataset should be stored in tmp000 volume of the unit 3350

It says to create a catalog entry pointing to tmp000 for the named dataset - it does not create the dataset.

if so do we have to provide the volume in both the statements.

If you try to use IEHPROGM, you must specify both.

IEHPROGM is not a good tool for normal use. Creating/cataloging datasets is better done with jcl or tso/ispf.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post