Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

JCL & VSAM :: Search utility(3.14) using JCl and Cobol.

$
0
0
Author: RKS3
Subject: Search utility(3.14) using JCl and Cobol.
Posted: Sat Jun 10, 2017 10:18 pm (GMT 5.5)


Search utility(3.14) using JCl and Cobol.


Hello Guys -

I am planning to create a JCL(may use cobol program) which can be used to search a program in PDS library(Job,proc,control card) to find out the corresponding job,proc,control card so that the time will be saved when we search using 3.14(search utility) as we need to wait till it completes.

Input -> program name in sysin srchfor 'program name'
Ouput -> Program name , Job, Proc, Control card in a file


I tried with ISRSUPC utility using SRCHFOR with program name and could find, program name is used in control card with symbolic parameter. So how to proceed further to find out the job and proc.

Could you please share your thoughts on this or if you have any other easy solution which can solve all hurdles?

Note :
1-> control card name may not be same as program name
2-> Program name can be mentioned anywhere in control card : Ex : RUN PROGRAM(Program name) in case of db2
3-> How to find whether the program name is used in proc or in control card which is used in proc?

Appreciate your time.[/quote]
_________________
Thanks & Regards
RKS


Viewing all articles
Browse latest Browse all 8500

Trending Articles