Insert line in all the member of a PDS



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

Insert line in all the member of a PDS

Postby arulselvi » Tue Jan 10, 2012 1:05 pm

Hi

I need to insert a line in all the member of a pds..can some one help for this
arulselvi
 
Posts: 2
Joined: Tue Jan 10, 2012 12:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Insert line in all the member of a PDS

Postby steve-myers » Wed Jan 11, 2012 2:30 am

I think the TS wants to run an IEBPTPCH PUNCH TYPORG=PO command to write the PDS to a sequential dataset, write a program to transform the sequential dataset to IEBUPDTE input with the new record at the appropriate place, and then rebuild the PDS, or create a new PDS, which is much safer. Of course, I'm assuming the PDS contains 80 byte logical records, anything else is more complex, and I'm also assuming the TS has some programming skills, which may be assuming too much. This program would not be very complex.

IEBPTPCH and IEBUPDTE are documented in the Utilities manual in the DFSMS bookshelf for the z/OS release the TS is running.

This is just a proposal for something the TS should be able to do. A more direct solution would require an Assembler program of some complexity, which is almost certainly beyond the probable skill set of the TS.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Insert line in all the member of a PDS

Postby Akatsukami » Wed Jan 11, 2012 3:46 am

steve-myers wrote:In all fairness to the topic starter, I'm not so sure where this should be entered, especially since I do not know of any standard utility that can do this.

Even so, I suggest that "Other Mainframe Topics" is much more logical than "Suggestions & Feedback".
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Insert line in all the member of a PDS

Postby dick scherrer » Wed Jan 11, 2012 6:25 am

Hello and welcome to the forum,

I've cleaned up your topic to remove the unnecessary comments from earlier.

Your topic has been relocated to a more appropriate part of the forum (All Other Mainframe Topics).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Insert line in all the member of a PDS

Postby arulselvi » Wed Jan 11, 2012 10:59 am

I want a REXX code to insert line in all the member of a pds
arulselvi
 
Posts: 2
Joined: Tue Jan 10, 2012 12:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Insert line in all the member of a PDS

Postby steve-myers » Wed Jan 11, 2012 11:22 am

arulselvi wrote:I want a REXX code to insert line in all the member of a pds
  • It probably is not possible.
  • You are asking for the work product of professionals. These professionals expect to be paid. The typical payment is currently in the range of 1,000 US dollars or 1,0000 Euros per day. If you are willing to hire a professional to perform this task, add a message here and those professionals that can perform this task can contact you through the private message facility in this board.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Insert line in all the member of a PDS

Postby enrico-sorichetti » Wed Jan 11, 2012 11:45 am

I want a REXX code to insert line in all the member of a pds


your rudeness in asking will prevent from getting good answers/help

just start learning little lessons from life...
not always You will be able to get what You want
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: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Insert line in all the member of a PDS

Postby expat » Wed Jan 11, 2012 2:25 pm

Also, your description of the task is awful.

What line do you want to insert. Is it a static line, i.e. it will always be the same, or is it dynamic, i.e. will change on certain conditions.
Where do you want to insert this line, again static position or dynamic.

Unless you take the effort to detail a request then all we can do is guess and waste everybodys time.

As per the comment by Steve Myers, you may find that my rate of 750 euros per day is quite competitive :mrgreen:
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: Insert line in all the member of a PDS

Postby swetha489 » Mon Mar 19, 2012 3:51 pm

You could use a Edit macro and be a little more clear with the requirements
swetha489
 
Posts: 10
Joined: Wed Mar 14, 2012 4:16 pm
Has thanked: 0 time
Been thanked: 0 time


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post