Re: TCPJPQ is null

2008-11-28 Thread Greg Price
[EMAIL PROTECTED] wrote:
 At this shop that I work with, there was a program that used TCBJPQ as
 a ptr to loaded modules
 within the address space.   One problem though, it was abending since
 TCBJPQ was null.
 No problem though, I devised a different solution using CSVINFO.
 Question, what was TCBJPQ null to begin with?  We are running zOS 1.9
 Thanks

Two obvious things come to mind:
(1) No programs were loaded in the JPA (perhaps the program was moved to LPA).
(2) You were not looking at the relevant job step task.

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


Re: TCPJPQ is null

2008-11-28 Thread Gerhard Postpischil

Greg Price wrote:

Question, what was TCBJPQ null to begin with?  We are running zOS 1.9
Thanks


Two obvious things come to mind:
(1) No programs were loaded in the JPA (perhaps the program was moved to LPA).
(2) You were not looking at the relevant job step task.


3) The program was in JPQ, loaded another, and got deleted, 
leaving JPQ zero and the running reference in LLS or LPA.


2b) The code looking for the JPQ is an SRB and not getting the 
correct TCB??




Gerhard Postpischil
Bradford, VT

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


Re: TCPJPQ is null

2008-11-28 Thread Greg Price
On Fri, 28 Nov 2008 15:02:46 -0800 (PST), [EMAIL PROTECTED] wrote:

Hi
The programs were normal application key 8 programs.
As for the job task,  I started at PSA, via PSATOLD, went to TCB, and
TCBJPQ was empty.
TCBLLS was populated though...

Thanks

PSATOLD-TCB
TCBJSTCB-TCB  (I think you skipped this step)
TCBJPQ-CDE chain

TCBJPQ could still be empty if all normal application key 8 programs
were reentrant and resided in LPA.
TCBLLS can point to an LLE chain with each LLE pointing to an LPDE
or CDE describing an LPA program, so there would still be an empty JPA.
OPEN macros typically result in LOADs for LPA programs, for example.

Cheers,
Greg

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