In a CL-program you can use the RTVJOBA command to get the workstation-id.
In RPG it is somewhere in the SDS, I will let you know were in a few
days....
Robèrt
"Bryan Simpkins" <bryan.s...@towerhamlets.gov.uk> a écrit dans le
message news: 7a5d9b55.01110...@posting.google.com...
>Thanks for your help. This field will do me fine. Unfortunately it
>only works when the program is run interactively, but that is another
>matter. Thanks
If the job isn't run interactively, there is no workstation.
If you need to know in a batch job what workstation submitted it, you could
trawl through the job log looking for message ID CPI1125. Sounds like hard
work tho.
--
Paul
BLACKOUT! http://blackout.irelandoffline.com
Get DeCSS: http://cubicmetercrystal.com/decss/