GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 40 of 128    Print  
What are the difference between in-stream procedure and inline procedure in jcl ?

  
Total Answers and Comments: 2 Last Update: July 13, 2006     Asked by: prem123 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 28, 2006 16:07:48   #1  
Culver_lake Member Since: March 2006   Contribution: 46    

RE: what are the difference between in-stream procedur...

sorry I think you have two different diciplines here. an In-Stream procedure is a JCL idea associated with the PROC statement. an in-line procedure is a COBOL concept associated with a PERFORM.

An in-stream PROC is defined right in the jcl stream and doesn't reside in the proclib. This is an older technique associated with punched cards but it is still in use with setup and installation programs from vendors.

for the in-line perform instead of:

perform add-paragraph until switch 'y'

you can code

perform until switch 'y'

body of code

end-perform

body of code is the code from add-paragraph appearing in-line (ie right in the perform) instead of in a separate paragraph (out of line code)


 
Is this answer useful? Yes | No
July 13, 2006 00:51:37   #2  
Vishakha        

RE: what are the difference between in-stream procedur...

Instream proc is a procedure coded within the JCL. It is not stored in a PROCLIB. Generally when the proc is not to be made a reusable piece of code it can be coded as instream proc.

there is nothing called as inline proc. Instead another type of procs are cataloged procs - these are coded as members (part of proclib) which are called in the JCL using an EXEC statement. These are the generally preferred procs as the same code can be resused and you can override parameters in proc by passing values in JCL.


 
Is this answer useful? Yes | No

 Related Questions

The JOB statement is the first in a JCL stream. Its format is // jobname, keyword JOB, accounting information in brackets and keywords, MSGCLASS, MSGLEVEL, NOTIFY, CLASS, etc.  
Latest Answer : Notify is misspelled in the answer. ...

PROC stands for procedure. It is 'canned' JCL invoked by a PROC statement. An instream PROC is presented within the JCL; a catalogued PROC is referenced from a proclib partitioned dataset.  
Latest Answer : I believe most give you the flavor of what it is. One of the main reasons for using a PROC is so that you can supply substitution variables. For example if you use a PROC to install software, you might supply a variable like &HLQ so that ...

A symbolic is a PROC placeholder; the value for the symbolic is supplied when the PROC is invoked, eg. &symbol=value. An override replaces the PROC's statement with another one; it substitutes for 
Latest Answer : Symbolic parameters are placed in the EXEC statements , and during compilation of the JCL, will replace the value. A typical use of Symbolic variables is, we can write generic PROC to be executed in various test and production regions by using Symbolic ...

DISP=OLD denotes exclusive control of the dataset; DISP=SHR means there is no exclusivity.  
Latest Answer : DISP=OLD --> Exclusive HOLD. Read from beginning of dataset. But if u write, then it will overwrite on existing data. i.e old data is lost. DISP=MOD --> Exclusive HOLD. You can write to the end of the file without loosing your old ...

BLKSIZE specifies the number of bytes 
Latest Answer : lrecl means length of the files record length but blk size means the number of records mvs system will read together when we will issue a read command mvs does not read single record it reads whole block and put it in buffer next time it reads from buffer ...

Latest Answer : Coding the status filed as OLD results in the OS searching for an existing data set of the name specified. If the file is written to then its old data will be lost, replaced by the new dataSetting DISP as SHR is identical to OLD except when OLD gives ...
Read Answers (5) | Asked by : Sasmita

Latest Answer : Addressing mode specifies the architecture used, ie 24 bit addressing mode or the 31 bit addressing mode,ie, Amode=24 or Amode=31.The residential or Rmode is used to specify whether or not the job exists above or below the 16Mb line, ie, where it is resident. ...
Read Answers (1) | Asked by : vipin sharma

Latest Answer : Instream proc is a procedure coded within the JCL. It is not stored in a PROCLIB. Generally when the proc is not to be made a reusable piece of code, it can be coded as instream proc.there is nothing called as inline proc. Instead another type of procs ...
Read Answers (2) | Asked by : prem123

Latest Answer : In which context are you talking about?, any specific tools of ISPF or in context of other? ...
Read Answers (1) | Asked by : arpita

Latest Answer : In environment division1) input - output section.2) configuration section.In data division1) File section.2) working-storage section.3) linkage section.4) report section.5) screen section.6) local-storage section. ...
Read Answers (5) | Asked by : Sun


 Sponsored Links

 
Related Articles

C++ Inline Functions

C Inline Functions In this C tutorial you will learn about Inline function what is inline function reason for the need of inline function what happens when an inline function is written general format of inline function explained with example mosgoogle center What is Inline Function Inline functions
 

C++ Standard Input Output Stream

C Standard Input Output Stream In this C tutorial you will learn about standard input stream and standard output stream explained along with syntax and examples C programming language uses the concept of streams to perform input and output operations using the keyboard and to display information on
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

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
 

XML Remote Calling Procedure

XML Remote Calling Procedure XML RPC or the XML Remote Calling Procedure is a set of compilations and implementations which allow certain programs to run on complex platforms or operating systems and allows them to make Remote Procedure calls on the Internet The Remote Procedure Calling Protocol use
 

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
 

Procedure for getting Scholarships

Procedure for getting Scholarships If you have done a bit of research you are probably well aware of the fact that there is a great deal of money available for scholarships Having said that it is sad to see that so many students graduate from college with lots of students loans when they could have
 

Difference between Scholarship and Grant

Difference between Scholarship and Grant While both scholarships and grants allow students to pay for their tuition without having to pay the money back there are a number of key differences between the two Knowing the difference between grants and scholarship will make it much easier for students t
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape