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

Use IELIST/IEHPROGM to get the infromation about the dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kitajim

New User


Joined: 17 Aug 2006
Posts: 3

PostPosted: Thu Aug 17, 2006 11:32 am
Reply with quote

Dear All,

Can any one of you help me to use IELIST/IEHPROGM to get the infromation about the dataset member ?

I need the attributes of the dataset member as follows.

created date & time
updated date & time

Thanks in advance,

Kitajim
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Aug 17, 2006 12:12 pm
Reply with quote

Hi do you mean IEHLIST,

This is how you get the details of a member in the PDS using this.

//PGMNAME EXEC PGM=IEHLIST
//SYSPRINT DD SYSOUT=*
//VOLDD DD UNIT=SYSDA,VOL=SER=LTST13,DISP=OLD
//SYSIN DD *
LISTPDS DSNAME=(XXXX.XXXX.XXXX),VOL=3390=LTST13,FORMAT
/*

VOL=SER=LTST13.
You can get this value for your PDS in 3.4 under VOLUME
VOL=3390...check the info of your PDS.....
and note your VOL=Volume serial

~Vamsi
Back to top
View user's profile Send private message
saithvis2

New User


Joined: 23 Dec 2005
Posts: 61
Location: Providence , US

PostPosted: Thu Aug 17, 2006 1:54 pm
Reply with quote

Hi Kitajim,


For more information , please refer the fine manual

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1u104/CCONTENTS

I guess you can find easy examples as well as explantion of the same .
Please do let me know , if there are some queries.


regards
Vishal
Back to top
View user's profile Send private message
kitajim

New User


Joined: 17 Aug 2006
Posts: 3

PostPosted: Fri Aug 18, 2006 6:54 am
Reply with quote

Thanks for your informations..!

I've tried to get the PDS information as follows.

Used JCL:
--------------------------------------------------------------------------
//DSINFO JOB CLASS=A,MSGCLASS=X,MSGLEVEL= (1,1),NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEHLIST
//SYSPRINT DD SYSOUT=*
//*SYSPRINT DD DSN=SOTADM.JCL.DSOUT,DISP=(NEW,KEEP),
//* VOL=SER=SOTVOL,UNIT=3390,SPACE=(TRK,10)
//DD0 DD UNIT=3390,VOL=SER=SOTVOL,DISP=SHR
//SYSIN DD *
LISTPDS DSNAME=SOTADM.JCL,VOL=3390=SOTVOL,DUMP
/*
//
--------------------------------------------------------------------------

Result (DUMP in Job Log):
Although I looked for many sites, the format of this output was not found.
Do someone know this information?

Thanks in advance,

--------------------------------------------------------------------------
MEMBERS TTRC VARIABLE USER DATA ---(USER DATA AND TTRC ARE IN HEX)
DMHDBCR 00005F0F 0100004501 06219F0106 219F172159 1E591E0000 E2D6E3C1C4 D440404040
DSINFO 0000740F 0115000101 06163F0106 229F154800 0A00140000 E2D6E3C1C4 D440404040
JCLCOPY 0000600F 0100003101 06220F0106 220F145200 1400140000 E2D6E3C1C4 D440404040
JCLLIB 00001A0F 0103003401 06128F0106 128F161800 11000F0000 E2D6E3C1C4 D440404040
JOBMULTI 00002A0F 0100000601 06163F0106 163F171400 1400140000 E2D6E3C1C4 D440404040
MJOB1 0000750F 0100002201 06229F0106 229F154900 1100110000 E2D6E3C1C4 D440404040
MJOB2 00005C00
MULTIJOB 0000560F 0104005601 06162F0106 193F152100 20000F0000 E2D6E3C1C4 D440404040
REST11W 0000200F 0104000801 06153F0106 153F135200 1200120000 E2D6E3C1C4 D440404040
SHELLEXE 0000390F 0109002201 06163F0106 179F091200 0900140000 E2D6E3C1C4 D440404040
SORTDATA 0000640F 0108001801 06163F0106 224F123800 0900140000 E2D6E3C1C4 D440404040
SUBJOB 00004F0F 010C003601 06075F0106 181F173600 0A00040000 E2D6E3C1C4 D440404040
TAPELOAD 0000110F 0108003401 06082F0106 082F125500 1100110000 E2D6E3C1C4 D440404040
TESTJCL 0000250F 0106003401 06075F0106 162F112300 0400040000 E2D6E3C1C4 D440404040
ZJOBTEST 00005D0F 0107003001 06163F0106 199F190800 1400140000 E2D6E3C1C4 D440404040
ZZTEST 0000710F 0113003101 06163F0106 229F133900 0900140000 E2D6E3C1C4 D440404040
--------------------------------------------------------------------------[/size]
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top