Operating System - OpenVMS
1753841 Members
8839 Online
108806 Solutions
New Discussion юеВ

Submiting a batch job to run automatically twice a year

 
SOLVED
Go to solution
Steve ward_3
Advisor

Re: Submiting a batch job to run automatically twice a year

Yes here it is when the file is in the firectory

TREK >>@ward.com
DAY = "Thursday"
MONTH = "04"
Job TREK_SNAPSHOT (queue DBA$BATCH, entry 187) pending
pending status caused by queue stopped state
Steve ward_3
Advisor

Re: Submiting a batch job to run automatically twice a year

SO YOU SEE IT DOES DO THE SUBMIT WHEN THE FILE IS THERE! BUT WHEN IT CAN'T FIND IT I GET THAT ERROR?


%SUBMIT-F-OPENIN, error opening $1$DUA1:[WARD]TREK_SNAPSHOT.COM; as input
-RMS-E-FNF, file not found

Walter Miller_1
Valued Contributor

Re: Submiting a batch job to run automatically twice a year

Of course...as Jan said even if the file is there the extra ":" between ] and ''ward will cause the f$search to return "" and run the job. So remove that ":" and change .eqs. to .nes. and it should work as expected.
Steve ward_3
Advisor

Re: Submiting a batch job to run automatically twice a year

Great it did thanks for all your help
Steve ward_3
Advisor

Re: Submiting a batch job to run automatically twice a year

Thanks again