Posted: Tue May 09, 2006 1:33 am Post subject: need to find a data in a specific column in a JCL
Hai members,
I need to find in a JCL PDS , what are the JCLS (members) which have a data in column 72 to indicate that the JCL is a bad JCL and i need to fix the error by removing that data in column 72 .
Actually my problem goes this way:
Some of the JCLS in the PDS have data in cols 73 - 80 which is ok and some of the JCLS have data in cols 72 but if comma is there in that line , it is ok and it is a correct JCL but if a comma is not there in the line instead if it is the end of the JCL statement and we have data in cols 72 it is a bad JCL.How can i achieve the results as searching the entire PDS will take a lot of time ?
Code:
-1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
A JOB (ABCDDEPT,),'COMPJCL',NOTIFY=&SYSUID,CLASS=A,
MSGLEVEL=(1,1),MSGCLASS=A 0
Futher to the requirement posted , how can we find which members have data in cols 73 - 80 in the entire PDS as i need to find out all the members , even though the JCL will work but i need to find it and remove the data from cols 73 - 80 for all members.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum