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

GDG generation ( was version ) using REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
sunnybunny

New User


Joined: 29 Nov 2005
Posts: 49

PostPosted: Thu Oct 20, 2011 10:04 pm
Reply with quote

Hi,

Can you please help me on the following.

Consider the following GDG files.
b.b.b
b.b.b.G0001V00
b.b.b.G0002V00

c.c.c
c.c.c.G0001V00

d.d.d
d.d.d.G001V00
d.d.d.G002V00

I have a input file say aaa.aaa.aaa with above GDG base names.

b.b.b
c.c.c
d.d.d

By using REXX, i need to find out the current generation of each GDG base to an out file.

so output file should have following information.
b.b.b.G0002V00
c.c.c.G0001V00
d.d.d.G002V00

Can you please help me on this?

Thanks in advance.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 20, 2011 10:11 pm
Reply with quote

do You have a doctors' s prescription to do it using REXX ? icon_evil.gif

if You search the forums You will find a few examples doing it with sort
for example
www.ibmmainframes.com/viewtopic.php?t=50967&highlight=sort+last+gdg+generation

a simple search with sort last gdg generation and choosing to search for all terms

if the tool has been already chosen, it means that logically all the pro' s and con' s were taken into account
fitness of the <tool>
availability of the <tool>' s skills

choosing a <tool> and having to resort to somebody else skills to implement the <thing> is usually a bad practice
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Oct 20, 2011 10:15 pm
Reply with quote

An even quicker way of determining how to do it would be for him to read his own damned thread containing the same damned requirement! icon_evil.gif
Back to top
View user's profile Send private message
sunnybunny

New User


Joined: 29 Nov 2005
Posts: 49

PostPosted: Thu Oct 20, 2011 10:17 pm
Reply with quote

I am trying to do this in REXX but facing problems in it.

Can you please help me?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 20, 2011 10:17 pm
Reply with quote

anyway it looks like the only thing that these lazy morons want is to be diapered and spoon fed
( not even capable of searching, just good for asking and whining )
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Oct 20, 2011 10:18 pm
Reply with quote

Why must it be done in REXX

Why is there a requirement to know the latest generation

Please answer these questions
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 20, 2011 10:20 pm
Reply with quote

Quote:
I am trying to do this in REXX but facing problems in it.
Can you please help me?


why should we..
You have to get the last/current GDG generation ..
OK.. since the issue has been flogged to death and solved
just be glad to solve it just copying somebody else solution icon_evil.gif
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Oct 20, 2011 10:28 pm
Reply with quote

sunnybunny wrote:
I am trying to do this in REXX but facing problems in it.

Can you please help me?

We did, but you're too stupid and/or lazy to find the complete solution in the other thread that you started for the same requirement.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 20, 2011 10:30 pm
Reply with quote

OMG... I had not noticed that the two topics were form the same TS
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 20, 2011 10:36 pm
Reply with quote

Hello,
Quote:
I am trying to do this in REXX but facing problems in it.

Can you please help me?

You have been here for almost 6 years. You surely know that posting "it didn't work" is a complete waste of everyone's time.

If you want help, you need to show what you have tried and what happened. We will help, but will not typically provide whole solutions. The goal is for you to learn how to do the work, not grab some answer that you could not support and do not understand.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 20, 2011 10:40 pm
Reply with quote

I guess it is time to lock the topic,
the TS was already given a solution for almost the same issue
I do not see anything good coming out of it ( apart more desparaging comments icon_biggrin.gif ),
no reason to keep beating this dead horse
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Oct 20, 2011 11:07 pm
Reply with quote

Is this what you mean?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top