Using a Decision to Check if a Job Should Run |
To make job execution dependent on the user entering an (appropriate) filename in a dialog field F1, using a decision.
SELECT 'JOBNAME,datafile='||:F1 WHERE :fname IS NOT NULL
job(:1) 1.Define No Action: message-error(You must enter a valid filename.)
action-decision(D1) |