How to run only 2 steps out of 100 steps???

jcl interview questions

Moderator: Moderator Group

deepu
Member
Posts: 15
Joined: Fri Apr 24, 2009 10:40 am

How to run only 2 steps out of 100 steps???

Post by deepu » Wed Aug 25, 2010 12:13 pm

Hi,

I have 100 steps in a jcl...And my requirement is ...

1) I need to run only step4 and step5
2) I should not edit the jcl
3) I can use job card to fulfil this requirement.

Can anyone through some light on it....

Thanks,
Deepu

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Wed Aug 25, 2010 2:50 pm

well, you could have searched this forum, there are a few 100 threads similar to yours.

or you could read the manual and learn about 5.0 IEBEDIT (Edit Job Stream) Program
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

rahul_swarnkar
Member
Posts: 3
Joined: Wed Sep 22, 2010 7:35 pm
Location: India

Post by rahul_swarnkar » Wed Sep 22, 2010 8:18 pm

dbzTHEdinosauer wrote:well, you could have searched this forum, there are a few 100 threads similar to yours.

or you could read the manual and learn about 5.0 IEBEDIT (Edit Job Stream) Program
plz give the exact ans when we have asked here...don't direct us anywhere else....because we need ans within a second and again searching for different thread will take more tym.

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Wed Sep 22, 2010 8:56 pm

rahul swarnkar wrote:plz give the exact ans when we have asked here...don't direct us anywhere else....because we need ans within a second and again searching for different thread will take more tym.
time is your problem not mine. I volunteer this information, for free, on my own time.

Knowing the which manual contains the answer and where to find the answer is the goal.
After all, no one can remember everything, but we can remember how to find answers when shown where to look.

Also, this is not a chat room; so stop using chat room language or abbreviations of you own making.
This is technical forum where complete words and sentences will be used to communicate.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

sumit_tumba
Member
Posts: 1
Joined: Wed Jan 30, 2008 1:08 pm

Post by sumit_tumba » Fri Oct 08, 2010 10:39 am

HI Deepu,

Put RESTART commnad in the job card like RESTART=STEP004 and put a null character (// ) after STEP005,so it will start from step4 and end in step5,only 2 steps will execute...

and dont get dishearted abt whatever others say....
these ppl may cant give you answers but can show you attitudes....

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Interview questions.

Post by Natarajan » Fri Oct 08, 2010 11:31 am

You can do this useing IEBEDIT.

Refer following thread for details.
http://www.mainframegurukul.com/ibmmain ... php?t=2329


sumit - welcome to the board.
You are not the right person to comment on the guys who has helped hundreds of people by answering their queries.


I agree with you , people who are posting queries in these forums - "Interview Questions" they expect the answers on the same Thread.
Natarajan
Chennai

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Oct 08, 2010 3:03 pm

Interesting thread!
Regards,
Anuj

sarath
Member
Posts: 2
Joined: Wed Oct 13, 2010 8:27 am

ans

Post by sarath » Wed Oct 13, 2010 8:34 am

u can use restart=step4 or u can use cond statement toooo

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Oct 13, 2010 1:51 pm

How about other steps? It is told that there are 100 steps!
Regards,
Anuj

sarath
Member
Posts: 2
Joined: Wed Oct 13, 2010 8:27 am

hi

Post by sarath » Thu Oct 14, 2010 6:56 pm

hi if u can help meee... plz as far as i know this can be done

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Oct 15, 2010 3:02 pm

Yes it can be done unless there is some un-told restriction. Answers are already given there in the thread, please re-read the entire thread again.
Last edited by Anuj Dhawan on Thu Feb 02, 2012 2:02 pm, edited 1 time in total.
Regards,
Anuj

vrnr11
Member
Posts: 1
Joined: Wed Sep 28, 2011 5:38 pm

with out modifications..

Post by vrnr11 » Wed Sep 28, 2011 5:51 pm

Just use labels...

.A and .B before the two steps you need to run and sub .a .b and only those two steps will run.. :)

so no modifications required..

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Thu Sep 29, 2011 3:31 pm

Yeah, that's one of the alternatives.
Regards,
Anuj

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Sep 29, 2011 5:16 pm

Just use labels...
.A and .B before the two steps you need to run and sub .a .b and only those two steps will run.. Smile
so no modifications required..
except of course if you need a job card with parms such as
SCHENV=
CLASS=
MSGCLASS=
to avoid the defaults.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Fri Sep 30, 2011 12:18 am

and dont get dishearted abt whatever others say....
these ppl may cant give you answers but can show you attitudes....
You have been here for over 3 1/2 years and this is the best you could do for your first post. . . Mercy.

Obviously you have not looked at many of the thousands of posts where excellent answers have been provided (this topic included).
Have a good one

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others