user status area

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
luca
Participant
Posts: 81
Joined: Wed May 14, 2003 11:34 pm

user status area

Post 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
luca
Participant
Posts: 81
Joined: Wed May 14, 2003 11:34 pm

Post by luca »

The value I try to store is a string
luca
Participant
Posts: 81
Joined: Wed May 14, 2003 11:34 pm

Post 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.
Post Reply