Is it possible to execute 6 to 8 steps among 10 steps?

All sort of Mainframes Interview Questions.
Post Reply
Natvar Singh
New Member
Posts: 6
Joined: Thu Jul 31, 2014 10:12 am

Is it possible to execute 6 to 8 steps among 10 steps?

Post by Natvar Singh »

Hi,

Can any body plz explain following questions

1. There are 10 steps in my job will it possible to execute 6 to 8 steps only ? I said - RESTART=STEP6in Job card and a // after 10th step. Interviewer said there are more ways to do it. Can someone please help what are other ways?

2. He then asked me if it is possible to by pass 6 to 8 steps other than using comment? I did not know what he meant so could not answer.

3. Is it possible to execute step 5 and then step10. He said, you could use RESTART for step5 to ztart from there but what parametr will be needed for step10? I did not know the answer.

Please help me.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Anuj Dhawan »

1. It's correct. Possibly interviewer wanted to hear about IEBEDIT too.

2. IEBEDIT should do this. I think, it's a hint for the previous remark from him...

3. I don't think there is an easy way out apart from editing the JCL itself or make use of IEBEDIT.

Hope this helps.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Chandan Yadav
Website Team
Website Team
Posts: 70
Joined: Wed Jul 31, 2013 10:19 pm

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Chandan Yadav »

Yes I agree..It's easily doable using IEBEDIT utility.

But my question here do we really used IEBEDIT in real world.

I am trying to find real time scenario since long..if anyone throw some light on this I will be very thankful

Regards,
Chandan
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by enrico-sorichetti »

But my question here do we really used IEBEDIT in real world.
in the real world You would not have the problem of running steps 6 to 8 out of 10 :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Anuj Dhawan »

On a serious note I agree with Enrico.

JCL was made to execute the things in batch - one after other - executing steps by skipping some in between is not what it is supposed to do, in general. However, it might be true (a hypothetical example in the context of original question) - say step6 creates a file, which gets modified in step7 and sent to some e-mail ID in step8. A fine day, the Job executed well but the step6 or step7 malfunctioned by some means -- well, you want to execute step6, 7 and 8 now - IEBEDIT can be handy among other ways for such a situation. (God forbid, such shops do not exist.)
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Chandan Yadav
Website Team
Website Team
Posts: 70
Joined: Wed Jul 31, 2013 10:19 pm

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Chandan Yadav »

yes I agree with both Enrico and Anuj :)
Ashu Jain
New Member
Posts: 4
Joined: Thu Aug 14, 2014 3:29 pm

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Ashu Jain »

Anuj Dhawan wrote: (God forbid, such shops do not exist.)
hahaha. Why are you saying so?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Anuj Dhawan »

Because that kills the whole purpose of executing something in batch...
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Natvar Singh
New Member
Posts: 6
Joined: Thu Jul 31, 2014 10:12 am

Re: Is it possible to execute 6 to 8 steps among 10 steps?

Post by Natvar Singh »

Thanks for the answers and great discussion. This has helped me.

:D
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”