View previous topic :: View next topic
|
Author |
Message |
vpr_118 Warnings : 1 New User
Joined: 07 Apr 2008 Posts: 64 Location: chennai
|
|
|
|
Hi,
I create a JCL in a PDS member using a rexx tool. The rexx program is submitted in batch job and member gets created in run time. I want to sunsequently submit the same provided there are no errors in the jcl as created in the member.
How to do the same.
Thanks |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
may be you can use the below command in the next step...
ADDRESS TSO "SUBMIT '"DSN"("JNAME")'" |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Srini,
How does that ensure there are no jcl errors prior to submitting?
vpr,
I'd suggest forgetting the "jcl check before submit". Because the jcl is being generated, there should be no errors once the code is debugged. |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
Don't think even scheduling tool also give checks even job.
If jcl generated needs to check I guess we may use other tools like..jclprepe etc..
didn't think in depth dick |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
I agree with Dick' s reply
Quote: |
...Because the jcl is being generated, there should be no errors once the code is debugged... |
and if an error comes out it simply means that somebody has messed out the environment ...
so it' s time to debug again |
|
Back to top |
|
|
|