View previous topic :: View next topic |
Author |
Message |
euphoria Beginner
Joined: 05 Dec 2005 Posts: 14 Topics: 8
|
Posted: Mon Mar 20, 2006 7:13 am Post subject: Triggering a job from CLIST |
|
|
I am calling a job from my CLIST program using:
.............................
............................
DYLOC F(ISPFILE) DA($RUN.JCL)
ISPEXEC FTOPEN
ISPEXEC FTINCL PROGRAM1
ISPEXEC FTCLOSE
JESUB $RUN.JCL &JOBNAME
....................................
..........
What i expected was whenever my input fields are filled the job will start in the background,but something else is happening.
A prompt is thrown like:
"do u want to submit the job XXXXXX:(Y|edit|N)"
How do we override this prompt.
cheers,
euphoria |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Mar 20, 2006 8:00 am Post subject: |
|
|
What is JESUB, and what does it do? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Mar 20, 2006 8:09 am Post subject: |
|
|
Look up for "WRITENR" or "WRITE" statement in your CLIST. The prompt is coming from that statement.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Mar 20, 2006 8:59 am Post subject: |
|
|
JESUB must be a local exec. No professional would use the chat-room abbreviation 'u' for 'you'. Why not just use the TSO submit command? |
|
Back to top |
|
 |
euphoria Beginner
Joined: 05 Dec 2005 Posts: 14 Topics: 8
|
Posted: Tue Mar 21, 2006 12:19 am Post subject: |
|
|
Actually,the prompt looks like:
"OK TO SUBMIT XXXXXXX? (Y | N | EDIT) :"
I just wanted to convey what was happening...
Anyway thanks for ur comments....
But still, i don't have any WRITE/WRITENR in my CLIST .still i get it.
in anticipation,
-euphoria |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Mar 21, 2006 2:40 am Post subject: |
|
|
Still, why not use the standard submit command? |
|
Back to top |
|
 |
|
|