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 

Parser for 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
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Tue Jun 03, 2025 2:51 am    Post subject: Parser for JCL Reply with quote

Hallo *,

I like to parse PO datasets containing JCL and like to retrieve lists with found datasets, programs etc. which are involved in the JCL.

Background: JCL should be deleted, including dependand datasets, programs, DB2 plans etc. on the JCL which should be deleted.

Does anybody know, if some kind of parser for JCL is available?

Thank you for any helpful hints,

kind regards
bauer
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jun 09, 2025 8:48 am    Post subject: Reply with quote

bauer,

A simple SUPERC in batch for DSN= and PGM= will give you the list of the datasets and programs, however, it wouldn't be able to find which datasets needs to be deleted.

Also unless you have instream control cards (for DB2 plans or for that matter any program that uses IKJEFTxx), we wouldn't be able to find the plan/program names
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Tue Jun 10, 2025 1:45 am    Post subject: Reply with quote

Hallo Kolusu,

thank you for your answer.

Yes, you are right - program invocation by IKJIFT01 with ISPSTART PGM ....., PROGRAM (....) PLAN (....) does noz work with any simple search.

Thus: We wrote a small PL/1 program including the topic "check for other usage" of potential DSN, PGM which are candidates to be deleted.

Thank you again, for your time to answer this question,

kind regards,
bauer
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