Hi
I need to insert a line in all the member of a pds..can some one help for this
Insert line in all the member of a PDS
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Insert line in all the member of a PDS
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.
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.
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: Insert line in all the member of a PDS
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
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Insert line in all the member of a PDS
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).
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.
d.sch.
Re: Insert line in all the member of a PDS
I want a REXX code to insert line in all the member of a pds
-
- Global moderator
- Posts: 2105
- Joined: Thu Jun 03, 2010 6:21 pm
- Skillset: Assembler, JCL, utilities
- Referer: zos.efglobe.com
Re: Insert line in all the member of a PDS
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.
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Insert line in all the member of a PDS
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
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
Re: Insert line in all the member of a PDS
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
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

Re: Insert line in all the member of a PDS
You could use a Edit macro and be a little more clear with the requirements
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Insert Delimiters In File Using SYNCSORT
by Mobius » Wed Sep 07, 2022 10:48 pm » in DFSORT/ICETOOL/ICEGENER - 2
- 2095
-
by Mobius
View the latest post
Thu Sep 08, 2022 7:19 pm
-
-
-
comparte two fileds on the same line
by samb01 » Thu Mar 23, 2023 6:27 pm » in DFSORT/ICETOOL/ICEGENER - 2
- 1087
-
by samb01
View the latest post
Thu Mar 23, 2023 9:30 pm
-
-
-
REXX to Edit 3rd Line of all members in PDS
by shiitiizz » Thu Aug 13, 2020 5:21 pm » in CLIST & REXX - 3
- 3720
-
by Pedro
View the latest post
Fri Aug 14, 2020 3:50 am
-
-
-
FORMAT THE FILE SO ALL CHILD UNDER SAME PARENT IN ONE LINE
by azhar » Wed May 31, 2023 4:27 pm » in JCL - 1
- 1751
-
by sergeyken
View the latest post
Thu Jun 01, 2023 3:06 am
-
-
- 7
- 5195
-
by sergeyken
View the latest post
Fri Nov 13, 2020 1:24 am