GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 115 of 126    Print  
Run a step 'n' times
How to Run same steps in a jcl 'n' number of time without repeating the steps n times?


  
Total Answers and Comments: 1 Last Update: June 16, 2008     Asked by: balasubramaniyan 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 16, 2008 04:58:45   #1  
sai mainframes Member Since: November 2007   Contribution: 13    

RE: Run a step 'n' times
Hi,

if you want to run the same steps repeated number of times.

code all those steps in a Proc (either ctaalog or instream), and call the proc when ever and where ever u want.

please correct me if i am wrong incase.

jinka.saikrishna@gmail.com

 
Is this answer useful? Yes | No

 Related Questions

RESTART is a JOB statement keyword. It is used to restart the job at a specified step rather than at the beginning.  
Latest Answer : Restart is a keyword which is used in mainframes to restart the perticular step in the job at not the begining ...

COND specifies the conditions for executing the subsequent job step. The value after the COND= is compared to the return codes of the preceding steps and if the comparison is true, the step is bypassed. 
Latest Answer : In exec statement the condition is used for by-passing the perticular step through the condition,if COND=0 Its a successfull executionif COND=4 Its a warning if COND=8 Its a serious errorif COND=16 Its a fatal error.So that we can use this condition key ...

MVS now allows for an IF bracketed by an END IF around any job step to replace the COND= syntax. Again, if the IF statement is true, the step is bypassed.  

The value after the PARM= specifies control information to be passed to the executing program of the job step.  
Latest Answer : It is only used for to pass the values by JCL to the perticular application program like COBOL program. ...

REGION specifies the maximum CPU memory allocated for a particular job or job step. If REGION is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.  
Latest Answer : region is the keyword parameter used in job and exec statements annd it is for storage purpose region=2096128k default ...

TIME specifies the maximum CPU time allocated for a particular job or job step. If TIME is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.  
Latest Answer : if time parameter is coded on both job and step, then the time coded on the EXEC statement over-rides the one on the job.[refererred on pg 88 of Mvs Jcl Primer]U might be interested to know this too.The COND parameter if coded on both job and step, ...

Latest Answer : Hi Siva,               Its not that Disp=pass will solve the case. As Pass is used to pass the datatset from one step to another and not to pass the step itself. ...
Read Answers (3) | Asked by : Ramkumar

There are 100 steps in a job card.If we want to execute 100th step,what to do? and but remaining 99 steps should not execute
Read Answers (20) | Asked by : sireesha

Latest Answer : //XXXXXXXW JOB   XXXXXXX,AAAA.A.A,CLASS=G,MSGCLASS=1,NOTIFY=XXXXXXX//S010IEBC EXEC  PGM=IEBCOMPR,ACCT=PJ00000000//     INCLUDE   MEMBER=@BATCHS//SYSIN    DD    DUMMY//*//SYSUT1   ...

Latest Answer : You can restart like this. //JOBNAME JOB NOTIFY=&SYSUID,RESTART=JOBSTEPNAME.PROCSTEPNAME.Thanks&RegardsKarthikkumar.P ...
Read Answers (4) | Asked by : prasad


 Sponsored Links

 
Related Articles

Step by Step Oracle PL-SQL Tutorial

This introductory tutorial to PL SQL will help you to understand the basic concepts of PL SQL Please review the following tutorials and practice the sample SQL Statements on your local Oracle Database Please note that you must learn these basic things before we actually start getting in to Advanced
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Step-By-Step Plan For A Career Change

Changing a career at the midpoint of anyone’s life is a vital and critical point in everyone’s working life. Everyone undergoes a career shift phase no matter how successful one is at his current job. Because this decision might affect the rest of one’s life, it is nece
 

Mainframe Features

Mainframe Features In this Mainframe tutorial you will learn about features of Mainframe Processing power memory capacity performance computing multiple operating system time sharing reliability serviceability availability clustering technology and other features available in Mainframe mosgoogle cen
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape