Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Exec only step 3 without changing jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
itdsen

New User


Joined: 20 Sep 2006
Posts: 23
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

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

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: 10203
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
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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: 1592

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: 1703
Location: Australia

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

Active Member


Joined: 13 Jun 2007
Posts: 632
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: 1703
Location: Australia

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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: 8593
Location: Back in jolly old England

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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: 10203
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

Active Member


Joined: 31 Oct 2006
Posts: 961
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: 1288
Location: Chennai, 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
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jun 15, 2008 12:51 am    Post subject:
Reply with quote

Ok let's REALLY scrape the bottom of the barrel:


Ques - What can I use to multiply a # by itself 2X

Ans - ICECUBE

Ok, OK, I'll stop. Somebody, PLEASE lock this thread.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jun 15, 2008 2:49 am    Post subject: Reply to: Exec only step 3 without changing jcl
Reply with quote

Quote:
PLEASE lock this thread
You've had that power longer than the rest of us. . . . icon_smile.gif
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Jun 15, 2008 9:16 pm    Post subject:
Reply with quote

Power is best used with restraint. So far my restraint has been perfect. icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Jun 21, 2008 4:34 pm    Post subject:
Reply with quote

mmwife wrote:
Power is best used with restraint. So far my restraint has been perfect. icon_smile.gif

And after a joke like the previous, Jack, you should be restrained icon_biggrin.gif

I have a nice little white jacket that does up at the back ....................
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jun 28, 2008 6:53 pm    Post subject:
Reply with quote

I have one, but I don't need it. As I've said:
Quote:
So far my restraint has been perfect.
But sait-on jamais.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts changing z/os unicode conversion service meykh2014 All Other Mainframe Topics 0 Tue Jul 12, 2016 10:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us