View previous topic :: View next topic
|
Author |
Message |
sajjan jindal Warnings : 1 New User
Joined: 09 Sep 2007 Posts: 60 Location: india
|
|
|
|
Hi all,
I have a requirement where in, a PDS contains 100s of members.
These members could contain a word "sajjan" in any position.
I want to delete the line which contains "sajjan" from every member of the PDS.
Please help me if this is possible via JCL.
Warning: Do not post the same question multiple times |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Sure, which program would you like the JCL to execute.
/RANT ON
Once more let us clarify exactly what JCL is.
it is Job Control Language.
By itself it does nothing. It is used to invoke the chosen program and to define which datasets are to be used by the DD names associated with the chosen program.
JCL does not have magical powers that solve all problems, JCL is merely the vehicule for telling the processor which program you want it to execute.
/RANT OFF |
|
Back to top |
|
|
sajjan jindal Warnings : 1 New User
Joined: 09 Sep 2007 Posts: 60 Location: india
|
|
|
|
I think this can be done via DFSORT or REXX, can some one help me out with this?? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Sort products don't (yet) have features to navigate partioned datasets. . .
You need to search in the rexx part of the forum as there are multiple examples of code that processes members of a pds. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Sort products don't (yet) have features to navigate partioned datasets. . . |
To clarify:
Sort products can operate on one member of a partititioned data set treated as a sequential data set -> pds(member)
Sort products cannot operate on the members of a partitioned data set based on the dsname of the pds. |
|
Back to top |
|
|
|