IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Exec only step 3 without changing jcl


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Jun 11, 2008 7:25 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jun 11, 2008 10:19 pm
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
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

Moderator Emeritus


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

PostPosted: Fri Jun 13, 2008 4:32 am
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
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: 1702
Location: Australia

PostPosted: Fri Jun 13, 2008 6:05 am
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
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: 1702
Location: Australia

PostPosted: Fri Jun 13, 2008 8:01 am
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

Moderator Emeritus


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

PostPosted: Fri Jun 13, 2008 8:10 am
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: 8797
Location: Welsh Wales

PostPosted: Fri Jun 13, 2008 11:23 am
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

Moderator Emeritus


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

PostPosted: Fri Jun 13, 2008 1:07 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jun 13, 2008 1:15 pm
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: 1042
Location: Richmond, Virginia

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

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

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Jun 13, 2008 7:49 pm
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
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

Moderator Emeritus


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

PostPosted: Sun Jun 15, 2008 2:49 am
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
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: 8797
Location: Welsh Wales

PostPosted: Sat Jun 21, 2008 4:34 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts changing defaults in db2 admin - Unlo... DB2 0
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
Search our Forums:

Back to Top