Replacing PS name with new name



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Re: Replacing PS name with new name

Postby vamsyk9 » Tue Feb 14, 2012 1:59 pm

Yes Enrico, I want to replace the old generations with new Generation of which i am getting from previous step. Instead of creating a new JCL with those Generations manually. I created a master PARM file with old files and format ,so I am trying to replace the old generations with new generations and new volume serial numbers.

Hope this is clear, If not please let me know.
vamsyk9
 
Posts: 24
Joined: Mon Nov 28, 2011 7:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Replacing PS name with new name

Postby enrico-sorichetti » Tue Feb 14, 2012 2:16 pm

the explanation is clear... but,
the approach is against any good judgement and good practices !
again i ask what is wrong in using the proper GDG naming convention <gdgbase>(0) to address/use the latest/current GDG ???

in any organization with reasonably QA your solution will be rejected, and You might even reprimanded for wasting time
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: Replacing PS name with new name

Postby vamsyk9 » Tue Feb 14, 2012 2:55 pm

I am using this for copying some database to test regions, So it is not going to implement in Live... This will make my job more simpler..
vamsyk9
 
Posts: 24
Joined: Mon Nov 28, 2011 7:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Replacing PS name with new name

Postby BillyBoyo » Tue Feb 14, 2012 2:57 pm

and to reiterate enrico's earlier point about the volume numbers. Why are those being allocated outside your tape-management system?

Crossing in the post, how does it make your job simpler? Instead of writing and submitting a piece of JCL, you are trying to do all this just to save the SUBmit? And give yourself the chance of screwing-up in the process?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Replacing PS name with new name

Postby vamsyk9 » Tue Feb 14, 2012 3:04 pm

No, I am fectching all the GDG's and respective volume serial numbers from spool from previous steps, I need to do like this. No other alternative with me.
vamsyk9
 
Posts: 24
Joined: Mon Nov 28, 2011 7:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Replacing PS name with new name

Postby BillyBoyo » Tue Feb 14, 2012 3:15 pm

OK then, explain clearly please why you can't use "normal" GDG referencing and why you can't use catalogued volumes.

Also bear in mind you only think you are getting the volumes from a previous step. Most of the time you will be, and then there will be an almighty mess when you don't.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Replacing PS name with new name

Postby vamsyk9 » Tue Feb 14, 2012 3:29 pm

I will be getting volumes as i am extracting from ran job(already completed) this is mainly to keep track of GDG's generations for future use. I am basically trying to take the back-up of live database to test region. Some times we require those GDG'S will be helpful to load that week database.
vamsyk9
 
Posts: 24
Joined: Mon Nov 28, 2011 7:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Replacing PS name with new name

Postby BillyBoyo » Tue Feb 14, 2012 3:40 pm

Now I'm really confused. You have access to production data? And you want to sometimes copy it to another environment, just like that? What is your job title? How come you and your colleagues can't come up with a more standard sort of solution?

The point about copying the vols from a previous step is, the time that your code fails to do this, for whatever reason, will cause you a problem. You have a catalog entirely seperate from the one production uses?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Replacing PS name with new name

Postby vamsyk9 » Tue Feb 14, 2012 3:57 pm

You are not answering my question, U are simply wasting my time.that is my requirement, I am trying to do that. If possible please help me rather than asking unnecessary questions. If you have the solution or logic, Please let me know.
vamsyk9
 
Posts: 24
Joined: Mon Nov 28, 2011 7:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Replacing PS name with new name

Postby BillyBoyo » Tue Feb 14, 2012 4:13 pm

I'm trying to avoid you wasting your time,

File 1

a line
a line
a line
an important line with a <unique way of identifying> followed by unimportant stuff
another line
a second important line with <another unique identifier> maybe with unimportant stuff


File 2 (parameters)
<first unique identifier> <value to replace>
<second unique identifier> <second value to replace>


Where "<" and ">" are delimiters of any type you choose which are not naturally going to appear in the thing to be acted upon.

Forget it is JCL. Just get the substitution correct. Don't forget it is JCL when designing the parameters/skeleton - can you extend over more than one line with the vols?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

PreviousNext

Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post