Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

HLIST Utility In Batch

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Virendra Shambharkar

New User


Joined: 26 Aug 2015
Posts: 50
Location: India

PostPosted: Fri Apr 07, 2017 3:38 pm    Post subject: HLIST Utility In Batch
Reply with quote

Hi,

I am trying to run HLIST utility in batch mode to identify how many files under an HLQ are on migrate volume1 and on migrate volume 2 , there last reference date and space occupied by these . If I give HLQ.* in the DS name as below it error for Invalid data set name . I remember running like this in the past like giving HLQ.A* , HLQ.B* etc.

Am I missing something now.

/
Code:
/HLIST  EXEC PGM=IKJEFT01,DYNAMNBR=30
//SYSTSPRT  DD SYSOUT=*
//SYSTSIN   DD *
HLIST DS('HLQ.*') BCDS ODS('output.dataset')
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8028
Location: Bellevue, IA

PostPosted: Fri Apr 07, 2017 3:50 pm    Post subject:
Reply with quote

Instead of DS('HLQ.*') why not use LEVEL(HLQ) ?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2036
Location: Silicon Valley

PostPosted: Fri Apr 07, 2017 10:00 pm    Post subject: Reply to: HLIST Utility In Batch
Reply with quote

I do not think HLIST supports wildcard characters in the way that you recall.

Use LEVEL instead:
Code:
HLIST LEVEL('hlq') BOTH
Back to top
View user's profile Send private message
Virendra Shambharkar

New User


Joined: 26 Aug 2015
Posts: 50
Location: India

PostPosted: Mon Apr 10, 2017 2:34 pm    Post subject: Reply to: HLIST Utility In Batch
Reply with quote

Thanks for the inputs.

If I give

Code:
HLIST LEVEL(HLQ)


it gives me output as

Code:

BACKUP      FROM      BACKUP BACKUP    SYS   GEN
VOLUME     VOLUME   DATE      TIME        CAT    NMBR



etc. I am looking for information like Space occupied in GB and last referenced date. What parameters should be given to get this information . I had got this information in the past.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1484
Location: Chennai

PostPosted: Tue Apr 11, 2017 12:18 am    Post subject:
Reply with quote

Code:

BACKUP      FROM      BACKUP BACKUP    SYS   GEN
VOLUME     VOLUME   DATE      TIME        CAT    NMBR


You get this because this is from BCDS. Backup control dataset stores information about the HSM backups that have been performed on the dataset.

You need to list the migrated control dataset information - MCDS.
For all MCDS information. use
Code:
hlist level(HLQ) MCDS

For ML1 you can use
Code:
hlist level(HLQ) MCDS select(ml1)

for ML2
Code:
hlist level(HLQ) MCDS select(ml2)
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 5 Tue Nov 29, 2016 9:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us