Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi gays,
i work for project automation migration data from database to another .
i create 3 job
job 1 for migration data from Sql server to oracle
job 2 for migration data from oracle to oracle
i want to create a job parent for test ;
if CMD line content the context param of job 1 then run job 1
else run job 2
I'm an idiot. Sorry. I've just noticed your logic. The context variables are not going to be null. Try creating an empty String context variable. It won't be null, it will be treated like an empty String "". That is why your logic is not working.
i whrite this code in tjava:
System.out.println("contextsqlserver_Database :"+context.contextsqlserver_Port);
issus : contextsqlserver_Port cannot be resolved or is not a field
i try this solution ( screenshot attached) with tloadcontext
and i insert the value of parameter in file.dat
and same problem
That means that the context variable does not exist in the job. Check your context variables tab. A context variable must be configured in each job it is used.
ok thinks for your support
No problem 🙂