Page 1 of 1

user status area

Posted: Thu Feb 27, 2003 1:41 am
by luca
Hi all !
I have a job JC1 (job control) which runs a job J2.
J2 calls an after job subroutine in which ends by a command DSSetUserStatus.
From JC1, I am trying to retrieve this value from the user status area.
I tried to find it by using the command :
Result = DSGetJobInfo (h$4, DSJ.USERSTATUS)
where h$4 is the job handle for the job J2.
This doesn't work ...
Any idea ?
Thanks

Posted: Thu Feb 27, 2003 3:30 am
by luca
The value I try to store is a string

Posted: Thu Feb 27, 2003 3:48 am
by luca
Well I don't know if the problem is when storing the value in the user status area (in the after job subroutine)
or in retrieving theis value in the job controler.

The point is that from the job controler, after the line:
Result = DSGetJobInfo (h$4, DSJ.USERSTATUS)
I print the value of Result in the log and it is empty.