MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Difference between PRINTDS and ISPF Library utility (3.1); L

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
mvsmlk
Beginner


Joined: 08 Oct 2015
Posts: 13
Topics: 6

PostPosted: Fri Oct 09, 2015 8:24 am    Post subject: Difference between PRINTDS and ISPF Library utility (3.1); L Reply with quote

The top part of the split screen below shows the result of issuing a batch step executing program IKJEFT01 with an input of: PRINTDS DATASET('DDBAMLK.TSO.ASM') ALL HOLD.
It shows how the PDS directory is displayed. What is nice about this feature is that it indicates the page where the JCL for that member begins.

The bottom portion of the split screen is the resulting PDS directory display for the same dataset as captured and printed by ISPF, Option 3.1; Suboption L (Library Utility; Print entire dataset)

How can I obtain both the ISPF statistics (especially the Creation and Last Modified dates) by using the PRINTDS statement with PGM=IKJEFT01 and also get the page # where the JCL for that member begins?

If I cannot get the dates using IKJEFT01 PRINTDS parameters, can I specify a parameter to ISPF Option 3.1; Suboption L to obtain the page # where the JCL begins in that report?

I would prefer to submit one batch report containing many PDS file names rather than to manually request multiple individual ISPF reports (one per PDS file), as this could become tedious.

Any suggestions?
Thank you very much.

Code:


USING IKJFET01; PRINTDS command

SDSF OUTPUT DISPLAY DDBAMLKT JOB21399  DSID   103 LINE 1 314   COLUMNS 02- 133
 
 DATA SET: DDBAMLK.TSO.ASM                                  PDS DIRECTORY
 DATE: 2015/10/06              TIME: 21:34                         PAGE:     28

 NAME        PAGE

 $INDEX         1
 ABENDM         2
 AMSDASM        3
 ASMSIEX          4
 SIEXCFD           6

================================================================================================ 
 
USING ISPF 3.1; Suboption L to print entire (PDS) dataset

SDSF OUTPUT DISPLAY DDBAMLKZ JOB21346  DSID   101 LINE 17      COLUMNS 02- 133
                                           
  MEMBER           TTR   VERS.MOD    CREATION      DATE AND TIME         CURRENT      INITIAL     MODIFIED       USER
   NAME           (HEX)    LEVEL       DATE        LAST MODIFIED        NO. LINES    NO. LINES    NO. LINES       ID
 $INDEX           00020B   01.09   2009/10/28   2012/03/26  10:16:08           38            2            0     DDBAMLK
 ABENDM           000207   01.00   2006/08/07   2006/08/07  15:32:24           13           13            0     DDBAMLK
 AMSDASM          000303   01.00   2014/03/10   2014/03/10  16:50:40           30           30            0     DDBAMLK
 ASMSIEX          000301   01.01   2013/07/11   2013/07/11  18:37:38          103          102            0     DDBAMLK
 SIEXCFD          000106   01.03   1997/05/05   1997/05/07  10:37:18          174          154           46     STSSJDF
 SIEXCLL          000109   01.04   1997/02/20   1997/02/24  09:21:21          154
Back to top
View user's profile Send private message AIM Address
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Oct 09, 2015 9:25 am    Post subject: Reply with quote

mvsmlk,

Here is an old topic which has a cobol/PLI program to read a pds directory and print the statistics

http://www.mvsforums.com/helpboards/viewtopic.php?p=60014
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Oct 09, 2015 10:04 am    Post subject: Reply with quote

mvsmlk,


Please do not post the same topic in multiple forums. I deleted your duplicate post in TSO forum.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mvsmlk
Beginner


Joined: 08 Oct 2015
Posts: 13
Topics: 6

PostPosted: Fri Oct 09, 2015 10:14 am    Post subject: Reply with quote

Apologies. I did not see the second topic when I posted this originally.
Back to top
View user's profile Send private message AIM Address
mvsmlk
Beginner


Joined: 08 Oct 2015
Posts: 13
Topics: 6

PostPosted: Fri Oct 09, 2015 12:59 pm    Post subject: Reply with quote

Thank you for the COBOL program which I now have functioning.
I am still looking for an "all in one" solution, where I can have the page number for the JCL member as well as the create and modify dates, ideally on a single line.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group