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 enrico-sorichetti » Tue Feb 14, 2012 4:28 pm

You are not answering my question, U are simply wasting my time.that is my requirement,

if You are not satisfied with the way we try to help You,
nobody is forcing You to keep using this Forum nor preventing You from going somewhere else...
but You are <warned>, none of the other forums is permissive as this one as far as attitude is concerned
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: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Replacing PS name with new name

Postby vamsyk9 » Tue Feb 14, 2012 4:35 pm

Billy Boyo

Hi, Thanks for the above. Could you please explain in detail as i am not able to get it.

Enrico

Apologise for that, But i am under pressure to do so..
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 5:03 pm

You need to prepar an outline/skeleton piece of JCL.

//somename dd dsn=<i want to replace dsn1>,
// otherstuffneededfromddonmultiplelinesifnecessary,
// vol=ser=<i want to replace vols1>

For each DD statement requiring updating, the markers need to be unique with respect to the actual value required for replacement. If you want the same group of vols, or same dsn, use the same for replacement. For different dsn/vols must be different. Note that all commas are correctly included in the original "text" where needed. All that is needed is to replace/swap the things within the delimiters.

Code your parameter file simply:
<i want to replace dsn1> andthenthestuff
<i want to replace vols1> andthensomeotherstuff


Is Sort the dicated requirement for the solution?
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 5:04 pm

No Not neccessary.
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 5:24 pm

Your skillset has rexx. You have much experience with that?
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 5:39 pm

I am a learner in Rexx.
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 vamsyk9 » Wed Feb 15, 2012 1:47 pm

How to approach in REXX, Can some one help me pls
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 NicC » Wed Feb 15, 2012 1:56 pm

If you can program in another language then learning Rexx should not take long. The pseudo code will be the same but the coding will be done under the rules of Rexx. See the Rexx Language Reference. You will also need the manual for the rexx exrensions in TSO - eg EXECIO. You can also run rexx on your PC so you can practise at home out-of-hours.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Replacing PS name with new name

Postby Frank Yaeger » Thu Feb 16, 2012 12:11 am

vamsyk9,

Your approach is really "interesting" (read "silly"). You asked how to do this in DFSORT. I asked you to explain exactly what you want to do so I can help you with DFSORT. Instead of doing that, you're now looking to do it in REXX which you don't know well. If you can't define your requirement clearly, then I don't see how you will be able to do it in REXX rather than Sort. Seems to me your real problem is that you can't explain your requirement clearly and until you can do that, nothing else matters.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1079
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 15 times

Previous

Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post