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
 

 

To read the PS

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

New User


Joined: 20 Apr 2012
Posts: 20
Location: chennai

PostPosted: Tue Mar 12, 2013 8:09 pm    Post subject: To read the PS
Reply with quote

Hi,

i have one pds which contains 100 members in each member contains the jcl which contains the creation of gdg versions my req is i want to copy the all versions which are creating newly in a ps along with the lrecl they had used.


please any one can help me...
Back to top
View user's profile Send private message

prino

Active Member


Joined: 07 Feb 2009
Posts: 982
Location: Oostende, Belgium

PostPosted: Tue Mar 12, 2013 8:14 pm    Post subject:
Reply with quote

And now reread that yourself, and check if you can make any sense of it.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Mar 12, 2013 8:14 pm    Post subject: Reply to: To read the PS
Reply with quote

Your requirement is clear as mud

1) You have a PDS
2) the PDS contains MEMBERS
3) each/some MEMBER contains some kind of JCL
4) You want to extract something ....

(3) how do You determine which member to process ???
(4) how do You determine what info to extract ???

IT is pretty deterministic so if You can define a PATTERN to analyze
then You will be able to retrieve the relative data
otherwise You will have to do it by hand
Back to top
View user's profile Send private message
swarnasuneel

New User


Joined: 20 Apr 2012
Posts: 20
Location: chennai

PostPosted: Tue Mar 12, 2013 8:51 pm    Post subject:
Reply with quote

1. in each member it will create the versions for the 1000 bases(which have different lrecl)
2.i want the lrecl of the each versions and the version name which is creating newly in that jcl
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Mar 12, 2013 8:58 pm    Post subject: Reply to: To read the PS
Reply with quote

Quote:
1. in each member it will create the versions for the 1000 bases(which have different lrecl)
2.i want the lrecl of the each versions and the version name which is creating newly in that jcl


OK...go ahead,
show what You have done and somebody AFTERWARDs will be glad to help if You find problems!

Quote:
please any one can help me...

it looks more like You want somebody to the job for You and serve You with a ready to run tested solution icon_evil.gif
Back to top
View user's profile Send private message
swarnasuneel

New User


Joined: 20 Apr 2012
Posts: 20
Location: chennai

PostPosted: Tue Mar 12, 2013 9:09 pm    Post subject:
Reply with quote

icon_redface.gif
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1712
Location: UK

PostPosted: Tue Mar 12, 2013 11:53 pm    Post subject:
Reply with quote

Still clear as mud - probably language barrier but...
Quote:
in each member it will create the versions for the 1000 bases

it what is IT?
versions what do you mean by versions? Versions of what?

Oh, and what has this to do with CLISTs or Rexx?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


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

PostPosted: Wed Mar 13, 2013 3:21 am    Post subject: Re: To read the PS
Reply with quote

swarnasuneel wrote:
i have one pds which contains 100 members in each member contains the jcl which contains the creation of gdg versions my req is i want to copy the all versions which are creating newly in a ps along with the lrecl they had used.


please any one can help me...

Questionable. Let me see if I can translate this into English:
Quote:
I have a PDS that contains 100 members; each member contains one or more jobs. In each job, zero or more generations (not versions) of one or more generation data groups are created. My task is to generate a PS data set, using the PDS as source, where each record contains the name of a created generation data set (i.e., that has a status of NEW), followed by the LRECL of the data set.

Is that what you're trying to say?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 13, 2013 1:10 pm    Post subject:
Reply with quote

And you get a 10/10, Sir Akatsukami! icon_wink.gif
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 CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm
No new posts Multi row fetch - "for read only... Nileshkul DB2 3 Sun Aug 14, 2016 12:52 am
No new posts To read from Zeke scheduler p.anbuselvan CLIST & REXX 5 Thu Mar 31, 2016 1:13 am
No new posts How to read a excel sheet and load it... Radhika Nambiar Java & MQSeries 10 Wed Mar 30, 2016 4:49 pm
No new posts Read contents of PS file scorp_rahul23 JCL & VSAM 3 Mon Mar 28, 2016 10:28 pm


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