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
 

 

Need to generate a list of datasets in hourly basis

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Sam.B

New User


Joined: 07 Jan 2013
Posts: 1
Location: singapore

PostPosted: Wed Jan 16, 2013 10:48 am    Post subject: Need to generate a list of datasets in hourly basis
Reply with quote

Hi All ,

We have a requirement to generate a list of dataset / hour / day .

The formant of the Dataset is like below :

AAAA.BBBB.CCCC.E12343.T0111210.ZZZZ where E12343 is the Julian Date of the System and T0111210 refers to the time stamp the dataset has been created . So we have several datasets created in every hour and throughout the day .

We have a requirement to generate a list which will be containing the number of dataset created every hour and we need to generate this report every day in hourly basis . I have been trying to do it using LISTCAT and SORT but getting difficulties while passing system time and hour as variable .

I am not very familiar to Rexx code so I am trying to do it through JCL .

Please Suggest .

_________________
Thanks And Ragards,
Sam
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Jan 16, 2013 1:42 pm    Post subject: Reply to: Need to generate a list of datasets in hourly basi
Reply with quote

Quote:
I am trying to do it through JCL .


the usual rant and reminder about POOR understanding of IT terminology ...

JCL DOES NOTHING... it simply provides the definition of the environment to execute some program amen

but naturally as usual around here You meant some flavor of sort
tell us what product You are using so that the topic can be moved
where it belongs
JCL for SYNCSORT
DFSORT for IBM DFSORT

but if You prefer a REXX solution search the forum for the IGGCSI
snippets from expat

and look at the IGGCSI samples in SYS1.SAMPLIB

and the topic will stay here
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Jan 18, 2013 11:22 pm    Post subject: Reply to: Need to generate a list of datasets in hourly basi
Reply with quote

Quote:
but getting difficulties while passing system time and hour as variable .


Please show us what you tried. Can you provide more specifics on the 'difficulties'?
Back to top
View user's profile Send private message
atulxp

New User


Joined: 27 Nov 2005
Posts: 15
Location: Phoenix

PostPosted: Sat Jul 23, 2016 4:51 pm    Post subject: Reply to: Need to generate a list of datasets in hourly basis
Reply with quote

I am new to REXX. I want to achieve same thing in REXX, any body knows about any previous post having solution.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Sat Jul 23, 2016 4:58 pm    Post subject: Reply to: Need to generate a list of datasets in hourly basis
Reply with quote

apart resurrecting a 3 years old topic,
what is that You did not understand in the answer given
Quote:
... search the forum for the IGGCSI snippets from expat
?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 25, 2016 12:04 pm    Post subject:
Reply with quote

Why use REXX, all of this information should be readily available from your performance and capacity team.

It's one of the things I reported on when I was doing P&C work.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Tue Jul 26, 2016 8:21 pm    Post subject:
Reply with quote

Using a batch REXX procedure to generate a unique output data set name
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm
No new posts Getting list of tables defined under ... kishpra DB2 2 Wed Aug 24, 2016 10:36 am


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