searching in cobol

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
User avatar
sktg
Member
Posts: 5
Joined: Wed Dec 01, 2010 10:52 am
Location: india

searching in cobol

Post by sktg » Mon Dec 27, 2010 12:47 pm

Is there any tool or command that can help me find what are the input/output files that are used in a cobol program?(Without reading the COBOL program of course)

Can Grep be used in Mainframes for search?(Someone had told me it can be, but I have no clue whether thats true) If yes, how?

Thanks!
sktg

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Mon Dec 27, 2010 1:46 pm

GREP is a UNIX tool.

apparently your environment is UNIX.

on z/OS you can use the ISRSUPC utility found in option 3.14.

Moved to Utilities Forum dbz
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Mon Dec 27, 2010 1:51 pm

Soory Frank,

should have moved this to the TSO/REXX/CLIST forum.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

User avatar
sktg
Member
Posts: 5
Joined: Wed Dec 01, 2010 10:52 am
Location: india

Post by sktg » Mon Dec 27, 2010 3:10 pm

Let me rephrase the question.

Is there any tool in mainframes that helps in finding the JCLs, Databases and files(VSAM/seq) as Input or output that are used in a COBOL program or maybe a set of COBOL programs?

My purpose is to trace the overall flow/working of the final software which uses these cobol program.
sktg

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Tue Dec 28, 2010 3:21 pm

If you are talking about native zOS, there is no such "in-built tool", AFAIK. There are pay-for-the-product kind of tools and I've never used them personally, however. Pn the other hand, IBM RDz seems to be doing a good job from that per se.
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others