Hello, I tried this ... Build your logfile, with enough records to hold your log data ... !JOB IPJOB,JOBS.HCUPDATE !FILE MIKEYBOY.USERDEV,OLD;ACC=APPEND !ECHO TEST LINE 1 >* MIKEYBOY.USERDEV !ECHO ![HPJOBNUM] >*MIKEYBOY.USERDEV !ECHO ![HPDATEF] >* MIKEYBOY.USERDEV !ECHO ![HPTIMEF] >* MIKEYBOY.USERDEV !EOJ And it seems to work fine ... Best regards. Mike Hardy wrote in message ... >Hi all, >Can someone please help me to stop tearing my hair out! >I am trying to do something that's so simple - but I just can't make it >work! >In a SUPERTOOL job I am trying to echo out the job number and a couple of >other HP vars to an output file. >e.g. >!JOB IPJOB,JOBS.HCUPDATE >!ECHO TEST LINE 1 >> MIKEYBOY.USERDEV >!ECHO ![HPJOBNUM] >> MIKEYBOY.USERDEV >!ECHO ![HPDATEF] >> MIKEYBOY.USERDEV >!ECHO ![HPTIMEF] >> MIKEYBOY.USERDEV >!EOJ >Yes I know this is not a Supertool job - but I'm trying to get it right >before it goes into the job. >I will be using the output file for an ongoing log. >Please help! >