/* REXX ----------------------------------------------------------------- * celq-lpa.rexx -- put the 64-bit C runtime (CELQ*) in the dynamic LPA. * * The dynamic LPA is rebuilt at every IPL, so either run this after an * IPL or make it permanent in a PROGxx member (see notes/investigation.md, * "Making it permanent"). Both routes were measured; the LPA residency * takes a 64-bit C start from ~6 ms to ~1.3 ms. * * Needs an id that may issue SETPROG, and SDSF. Responses from the * command come back in ISFULOG.; this exec prints them, so a "SUCCESSFUL: * 8" line is the proof it worked. * * Run from TSO: EXEC 'your.pds(CELQLPA)' EXEC * --------------------------------------------------------------------- */ address SDSF isfdelay = "10" /* One SETPROG for all eight modules: the command is 119 characters, and ISFSLASH takes no more than 126. SCEERUN2 is the library the runtime already loads from; only its residency changes. */ cmd.0 = 1 cmd.1 = "SETPROG LPA,ADD,MODNAME=(CELQDCPP,CELQDEST,CELQDMNP,CELQDSNF,CELQIOTD,CELQLIB,CELQMCHK,CELQV004),DSNAME=CEE.SCEERUN2" address SDSF "ISFSLASH (cmd.) (WAIT)" if rc <> 0 then do say "ISFSLASH failed, RC="rc exit rc end do i = 1 to isfulog.0 say isfulog.i end exit 0