Mainframe Utility: EC

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 : EC                                                       *
/* AUTHOR : DAVE LEIGH                                                *
/* FUNCTION : EDIT A COMPILE LISTING.                                 *
/**********************************************************************

ISREDIT (MEMBER) = MEMBER

ISPEXEC EDIT DATASET('&SYSUID..COMPILE.LISTING.&MEMBER')

EXIT
            


Documentation


 The EC 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 "edit" of that dataset.

 To invoke BC, simply type EC 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.
            


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.