Return to Mainframe Utilities Page
Module
ISREDIT MACRO
ISPEXEC CONTROL ERRORS RETURN
/**** SET MESSAGE DISPLAY ON/OFF BASED ON THE DEBUG SWITCH ***/
ISPEXEC VGET (DBGSWTCH) PROFILE
IF &DBGSWTCH = &STR(ON) THEN CONTROL MSG LIST CONLIST SYMLIST NOFLUSH
ELSE CONTROL NOMSG NOLIST NOFLUSH NOPROMPT
/**********************************************************************
/* UTILITY : BC *
/* AUTHOR : DAVE LEIGH *
/* FUNCTION : EDIT A COMPILE LISTING. *
/**********************************************************************
ISREDIT (MEMBER) = MEMBER
ISPEXEC BROWSE DATASET('&SYSUID..COMPILE.LISTING.&MEMBER')
EXIT
Documentation
The BC utility determines the name of the program being edited (based on member name) and looks for a dataset called youruserid.COMPILE.LISTING.programmembername and attempts to take you into an ISPF/PDF "browse" of that dataset. To invoke BC, simply type BC on the command line of a program you are editing and press. Obviously, you will need to set up your compile JCL to point the SYSPRINT of the compile step to a sequential file of the above format.

0 Comments