|
A global solution for the S/36 procedures is to create a validity checker
program for the STRS36PRC command
CHGCMD CMD(STRS36PRC) VLDCKR(&YOURLIB/&YOURPGM) below a basic
skeleton ...
PGM PARM(&IBM1 &IBM2 &PROC &CURLIB &PARMS)
DCL &IBM1 *CHAR 533 /* IBM Info/Stuff (Just leave it alone) */
DCL &IBM2 *CHAR 533 /* IBM Info/Stuff (Just leave it alone)*/
DCL &PROC *CHAR 10 /* Procedure - Member in QS36PRC */
DCL &CURLIB *CHAR 10 /* Current Library for Procedure */
DCL &PARMS *CHAR 503 /* Max Combined Length for Procedure Parms */
/* (if any)
*/
RTVJOBA JOB(&JOB) USER(&USER) NBR(&NBR) DATE(&DATE)
RTVSYSVAL SYSVAL(QTIME) RTNVAR(&TIME)
CALL AUDITPGM (&PROC &CURLIB &JOB &USER &NBR &DATE &TIME)
/**********************************************************************
Here You will write a program to Write/Update Info
about the Procedure Used (&User, &Job, &time and &date .. etc)
and any other information pertinent to the procedure
**********************************************************************
Hope this can help you ... Regards Jorge Moreno / Military Car Sales /
Woodbury New York / jmoreno@militarycars.com
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.