Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Exec only step 3 without changing jcl
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions
Author Message
itdsen

New User


Joined: 20 Sep 2006
Posts: 19
Location: Chennai

PostPosted: Wed Jun 11, 2008 7:07 pm    Post subject: Exec only step 3 without changing jcl
Reply with quote

I want to execute third step only, without changing jcl.

Is there any command while submitting job.

don't use IEBEDIT and Restart function.
Back to top
View user's profile Send private message
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3541
Location: Brussels once more ...

PostPosted: Wed Jun 11, 2008 7:25 pm    Post subject: Re: i want exec only step 3 without changing jcl
Reply with quote

itdsen wrote:
I want to execute third step only, without changing jcl.

Is there any command while submitting job.

don't use IEBEDIT and Restart function.

Third step of what, a job stream or a procedure ?
- How are we supposed to know this without you telling us ?

Why not use IEBEDIT, that is exactly why it is there ?

Have you considered conditional execution of all steps ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3151
Location: italy

PostPosted: Wed Jun 11, 2008 10:19 pm    Post subject: Reply to: i want exec only step 3 without changing jcl
Reply with quote

the issue has been debated to death, and has become quite boring...
look at the faq for topics not eligible for discussion
Back to top
View user's profile Send private message
Moved: Thu Jun 12, 2008 6:22 am by dick scherrer From JCL to Interview Questions
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1506

PostPosted: Thu Jun 12, 2008 11:41 pm    Post subject:
Reply with quote

It's somewhat of a trick ques. Restart at the step you want and code (or change) the Job card COND stmt to read COND=(0,LE)

The Job card COND o'rides all step CONDs.
COND isn't checked for the 1st step execed, so ithe restart step execs.
No matter what COND the restarted step passes after it execs, the Job COND tests for the following steps won't pass.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8719
Location: 221 B Baker St

PostPosted: Fri Jun 13, 2008 4:32 am    Post subject:
Reply with quote

Hi Jack,

Yup, that's what a bunch of us would do. . .

Unfortunately, this is one of those "restricted" requests - can't use RESTART or IEBEDIT. . .

Wish i could get paid to make up that kind of "requirement". . . With my flair for nonsense. . . Such a shame that there is so much of it going around.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1506

PostPosted: Fri Jun 13, 2008 5:18 am    Post subject:
Reply with quote

Quote:
don't use IEBEDIT and Restart function.
I must be getting old(...er) - I don't remember seeing that. Oh well.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Fri Jun 13, 2008 6:05 am    Post subject:
Reply with quote

Hi Jack,
I'm with you, I don't remember seeing that as well and I don't like this getting old(er) bit. icon_lol.gif

Expat mentioned the use of IEBEDIT which I'm sure he would not have suggested if the non use of it had been mentioned.

I sometimes don't really understand all these restrictions, I don't know how you can submit the same JCL and expect it to start from step3 without amending anything.


Gerry
Back to top
View user's profile Send private message
stodolas

Senior Member


Joined: 13 Jun 2007
Posts: 647
Location: Wisconsin

PostPosted: Fri Jun 13, 2008 7:44 am    Post subject:
Reply with quote

How do I exec only step 10 in job 13 in a 24 job stream to trigger job 14 but I can't view the JCL so I can't know the name of the step? I can only tell a blind monkey which keys to press and he has a 5% error rate on keystrokes.

Can you please help me?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 663

PostPosted: Fri Jun 13, 2008 8:01 am    Post subject:
Reply with quote

Hi,


Here is another one for you, how long is a piece of string ?


Gerry
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8719
Location: 221 B Baker St

PostPosted: Fri Jun 13, 2008 8:10 am    Post subject:
Reply with quote

Hello,

Quote:
I don't like this getting old(er) bit.
As a (very) young lady said to me one evening, "Don't you mind getting so much older?". My reply was, "Dear, dear Amy, it beats the alternative".

Quote:
Why not use IEBEDIT, that is exactly why it is there ?
I believe that was an Expat rebuttal. . . icon_wink.gif

Quote:
Can you please help me?
Possibly, we have received a positive response from most of the Jumble Queueing and Alternative System Scheduling (JQASS) committee that we should have a recommendation by the end of the month. Now to decide which month. Someone did suggest it would be more quickly implemented if the number of jobs was some power of 2 rather than 24.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3541
Location: Brussels once more ...

PostPosted: Fri Jun 13, 2008 11:23 am    Post subject:
Reply with quote

stodolas wrote:
How do I exec only step 10 in job 13 in a 24 job stream to trigger job 14 but I can't view the JCL so I can't know the name of the step? I can only tell a blind monkey which keys to press and he has a 5% error rate on keystrokes.

Can you please help me?

IEBEDIT should do the trick icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8719
Location: 221 B Baker St

PostPosted: Fri Jun 13, 2008 1:07 pm    Post subject: Reply to: Exec only step 3 without changing jcl
Reply with quote

Quote:
IEBEDIT should do the trick
Or ICEEDIT, the new (not yet announced) component of DFSORT/ICETOOL. This new utility automagically supports/allows many of this type of requirement.

Wiith no changes to (or overrides of) existing JCL, control statements, or scheduling definitions, steps may be run in any order, run multiple times in the same job, skipped, or once runnng made to wait on the completion/occurrence of event. All of this is done under voice control rather than keyboard/mouse.

d
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3151
Location: italy

PostPosted: Fri Jun 13, 2008 1:15 pm    Post subject: Reply to: Exec only step 3 without changing jcl
Reply with quote

Quote:
Wiith no changes to (or overrides of) existing JCL, control statements, or scheduling definitions, steps may be run in any order, run multiple times in the same job, skipped, or once runnng made to wait on the completion/occurrence of event. All of this is done under voice control rather than keyboard/mouse.



I am still convinced that 99.99% of the tasks debated around her can be carried on by
the IEHPROPHET utility ( V1 for flat file management )
let' s wait for the announced V2 for universal data base management features

no jcl, no control cards, think about a task and IEHPROPHET will accomplish it
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 497
Location: Richmond, Virginia

PostPosted: Fri Jun 13, 2008 5:43 pm    Post subject:
Reply with quote

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1148
Location: Mumbai - India

PostPosted: Fri Jun 13, 2008 7:49 pm    Post subject: Reply to: Exec only step 3 without changing jcl
Reply with quote

itdsen,

you there?

Quote:
don't use IEBEDIT and Restart function.


what exactly is the reason for not using the above 2 functions?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 HoursGoto page 1, 2  Next
Page 1 of 2