Edit macro JOBCARD Edit macro JOBCARD Author: David McRitchie formatted on 1995/04/01 06:54 in order for this macro to work on your system it must be tailored by your own technical support. -------------------------------------------------------------------------------- Macro name. JOBCARD users. PDF EDIT users with JCL and no jobcard type. Edit Macro resides in IS03.LIBR.CLIST -------------------------------------------------------------------------------- JOBCARD Create a jobcard at beginning of JCL -------------------------------------------------------------------------------- The JOBCARD edit macro provides a jobcard at the beginning of the mem- ber being EDITed. You may specify a jobclass when you invoke the jobcard edit macro. You will be given another chance to specify the jobclass when the edit macro terminates as this is where the cursor will be placed. If the edit macro cannot find previously stored in- formation, you will be asked questions. If the information you supply changes some time in the future you may correct all entries using RE- FRESH in place of the job class (fix you jobcard afterwards, if you use this option). questions you will be asked PLEASE YOUR SUPPLY 4-DIGIT COST CENTER ACCOUNT NUMBER -- FOR JOBCARD GENERATION PLEASE YOUR SUPPLY ROOM NUMBER FOR JOBCARD PLEASE SUPPLY YOUR NAME 1-11 CHARACTERS, PREFERABLY 1-7 E.G. J.DOAKS G.WASH PLEASE SUPPLY YOUR FULL NAME FOR JCL COMMENT NEAR E.G. GEORGE WASHINGTON SUPPLY DEST FOR OUTPUT STATEMENT, HIT ENTER FOR DEFAULT This Edit macro changes occurrences of "&SYSUID.". The jobname pro- vided will consist of the first four characters of the users logon id, followed by the first letter of the PDS member and ending with the last three letters of the PDS member name. -------------------------------------------------------------------------------- Since square brackets are not available, optional material is enclosed in European brackets <...>. ISREDIT JOBCARD -------------------------------------------------------------------------------- Examples: JOBCARD JOBCARD X Job CLASS=X will be preset JOBCARD REFRESH Example of generated jobcards: //IS03Z JOB (0267,O179),'D.MCR Z',CLASS=S,NOTIFY=IS03 //**** Z IS03 DAVID MCRITCHIE 1985/09/26 08:41:26 //**** JCL IS03.SHARE.CNTL(Z) 1985/09/26 08:41:26 Installation: Installation into your own CLIST library is required. Please copy IS03.LIBR.CLIST(JOBCARD) into your own CLIST library and tailor your copy to your own needs. The reason that a generalized CLIST will not work is because we have no way of determining what your account, room number, or programmer name should be. Notice: AUTOSAVE OFF may be invoked for 'xxxx.SHARE.CNTL' libraries Internal Aspects: 1. A jobcard is created at the beginning of the member under EDIT 2. Comment cards are created below the jobcard 3. All use of &SYSDATE., &SYSTIME., &SYSUID., &SYSUID4. are subject to being changed. 4. The cursor is repositioned at the JOB CLASS to facilitate change