Re: SETPROG LNKLST--problem or procedural error?



I haven't done any testing on this myself, but is it possible that
EXEC PGM=modname (no STEPLIB specified) behaves differently from
other program accesses from initiated jobs?

Bill

On Wed, 30 May 2007 09:10:56 -0500, Mark Zelden <mark.zelden@xxxxxxxxxxxx>
wrote:

No. SETPROG LNKLST is doing what it was advertised to do, but remember
that changes to the active linklist only take effect for address spaces
started after you issue SETPROG. Batch jobs run in initiators and they
live a very long time. So chances are your job is trying to fetch the
module using the original IPL-time linklist and barfing because that
extent is no longer valid.


Not very often that I would disagree with both Chris and Barabara, but a quick
test on a sandbox system I have that still runs JES2 inits tells me that
batch jobs running in an init do indeed pick up a the new LNKLST set
(without using SETPROG LNKLST,UPDATE).

I used my IPLINFO EXEC in batch and only had one init started and
ran it both before and after a dynamic addition to the lnklst. I also
ran a job that actually used a module in the library I added.

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group: G-ITO
mailto:mark.zelden@xxxxxxxxxxxx
z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/
Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: How to kill jobs in "select * from DBA_DATAPUMP_JOBS"
    ... Now, I can't kill them. ... Oracle asks me Username:, and I put system. ... Is it any way to kill or delete the jobs showed in DBA_DATAPUMP_JOBS? ... exec dbms_scheduler.disable ...
    (comp.databases.oracle.server)
  • RE: Recatalog IODF
    ... jobs. ... ,//STEP1 EXEC PGM=IDCAMS ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Search for a string using SORT
    ... jobs to do this in the past, ... Here's some compare JCL I've used that you might find interesting. ... //SORTSTEP EXEC PGM=SORT ... OFOCUS COLS 1101:1115 ...
    (comp.lang.cobol)
  • Re: A question about subprocess
    ... I've done this sort of thing in the past with fork and exec. ... To serialize the jobs on the machines, the easiest thing is to just send ... the commands all at once to a given machine, ...
    (comp.lang.python)