Page 1 of 1

Insert line in all the member of a PDS

PostPosted: Tue Jan 10, 2012 1:05 pm
by arulselvi
Hi

I need to insert a line in all the member of a pds..can some one help for this

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 2:30 am
by steve-myers
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.

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 3:46 am
by Akatsukami
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".

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 6:25 am
by dick scherrer
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).

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 10:59 am
by arulselvi
I want a REXX code to insert line in all the member of a pds

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 11:22 am
by steve-myers
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.

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 11:45 am
by enrico-sorichetti
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

Re: Insert line in all the member of a PDS

PostPosted: Wed Jan 11, 2012 2:25 pm
by expat
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:

Re: Insert line in all the member of a PDS

PostPosted: Mon Mar 19, 2012 3:51 pm
by swetha489
You could use a Edit macro and be a little more clear with the requirements