MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

need to find a data in a specific column in a JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
hemamfuser
Beginner


Joined: 09 May 2006
Posts: 9
Topics: 3

PostPosted: Tue May 09, 2006 1:33 am    Post subject: need to find a data in a specific column in a JCL Reply with quote

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       
Back to top
View user's profile Send private message
hemamfuser
Beginner


Joined: 09 May 2006
Posts: 9
Topics: 3

PostPosted: Tue May 09, 2006 1:46 am    Post subject: Reply with quote

Hai members,

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group