Hello,
I want to prepare a jobdefinition (of a jobchain) with a script.
The jobchain has two steps with two SAP_AbapRun-Jobs each. These jobs have the JobParameters "JOBNAME" and "COUNTRY" which are connected with the jobchainparameters "JOBNAME" and "COUNTRY".
The part of the script for setting the parameter:
JobDefinition jd = jcsSession.getJobDefinitionByName(<JobChainName>); jcsSession.persist(); Job job = jd.prepare();
job.setDescription(<Name>);
job.getJobParameterByName("COUNTRY").setInValueString(vkey);
job.getJobParameterByName("JOBNAME").setInValueString(strJobname);
jcsOut.println("Starting ...");
jcsOut.println("");
jcsSession.persist();
I want to set the Scheduling parameter "Start time" of the two jobs in Step 2 to value 14:00 and 19:00.
How can I do that?
Best regards
Dana