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
 

 

GDG generation ( was version ) using REXX

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: GDG generation ( was version ) using REXX
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Oct 20, 2011 10:11 pm    Post subject: Reply to: GDG vesrion by using REXX
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
http://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: 1738
Location: Bloomington, IL

PostPosted: Thu Oct 20, 2011 10:15 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Oct 20, 2011 10:17 pm    Post subject: Reply to: GDG vesrion by using REXX
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 20, 2011 10:18 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Oct 20, 2011 10:20 pm    Post subject: Reply to: GDG vesrion by using REXX
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: 1738
Location: Bloomington, IL

PostPosted: Thu Oct 20, 2011 10:28 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Oct 20, 2011 10:30 pm    Post subject: Reply to: GDG generation ( was version ) using REXX
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

Site Director


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

PostPosted: Thu Oct 20, 2011 10:36 pm    Post subject: Reply to: GDG generation ( was version ) using REXX
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Oct 20, 2011 10:40 pm    Post subject: Reply to: GDG generation ( was version ) using REXX
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

Active Member


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

PostPosted: Thu Oct 20, 2011 11:07 pm    Post subject: Reply to: GDG generation ( was version ) using REXX
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.    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 What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm


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