//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?
iehprogm
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: iehprogm
Hello,
dd1 - where to perform the specified operation
catlg - specifies what operation to perform
dd1 - where to perform the specified operation
catlg - specifies what operation to perform
Hope this helps,
d.sch.
d.sch.
-
- Posts: 11
- Joined: Wed Dec 19, 2007 3:42 pm
- Skillset: vs cobol ii,jcl,cics,db2,vsam,
- Referer: by browsing
Re: iehprogm
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
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
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: iehprogm
Hello,
That is what IEHPROGM expects.
It says to create a catalog entry pointing to tmp000 for the named dataset - it does not create the dataset.
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.
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.
d.sch.