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

Need to generate a list of datasets in hourly basis


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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

Senior Moderator


Joined: 14 Mar 2007
Posts: 10727
Location: italy

PostPosted: Wed Jan 16, 2013 1:42 pm
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

Global Moderator


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

PostPosted: Fri Jan 18, 2013 11:22 pm
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
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

Senior Moderator


Joined: 14 Mar 2007
Posts: 10727
Location: italy

PostPosted: Sat Jul 23, 2016 4:58 pm
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: 8794
Location: Welsh Wales

PostPosted: Mon Jul 25, 2016 12:04 pm
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

Global Moderator


Joined: 21 Sep 2010
Posts: 2590
Location: NYC,USA

PostPosted: Tue Jul 26, 2016 8:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How to list BMS MAP screens in BMS Ph... CICS 2
This topic is locked: you cannot edit posts or make replies. Copy list of files from PS to another... CLIST & REXX 11
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
No new posts List of Active Jobs in CTRL-M JCL & VSAM 1
No new posts XML-GENERATE to render edited numeric COBOL Programming 0
Search our Forums:

Back to Top