what is the general use of PARM? Give an explanation about
the system defined parameters that could be passed through
this PARM like XREF,LIST,LET,APOST,RENT etc..

Answers were Sorted based on User's Feedback



what is the general use of PARM? Give an explanation about the system defined parameters that coul..

Answer / nk

PARM is a way to pass data into a program without defining
a file for it. The parms listed are used to pass to COBOL
compiler.

Is This Answer Correct ?    8 Yes 1 No

what is the general use of PARM? Give an explanation about the system defined parameters that coul..

Answer / samay simant

PARM: Its a parameter in EXEC Statement to pass data or
provide input to the PGM that EXEC calls.

Regarding system defined parameters:Theses parameters are
passed to the program 'IEWL' ,its the compiler program.

XREF:
This is a COBOL compiler option. Format: XREF NOXREF
Abbreviations: X NOX
IBM-default: NOXREF

XREF requests that the compiler produce a sorted cross-
reference showing EBCDIC data-names and EBCDIC procedure
names (in alphanumeric order) and the line numbers of the
source lines in which they are referenced. It also includes
a listing of DBCS data-names and DBCS procedure names in
the same order as they appear in the source program (unless
the DBCSXREF installation option is selected) as well as a
section listing all the program names that are referenced
in the source program and the line number in which they are
defined (with external program names identified as such).
In the data-name portion of the XREF listing, line numbers
preceded by the letter ‘M’ indicate the data item is
modified by a statement on that line. Elementary names
within a group item referenced in a MOVE CORRESPONDING
statement will also be included in the XREF listing. If
both XREF and SOURCE are specified, cross-reference
information will also be embedded in the source listing
itself
(i.e., at the right hand end of the line to which it
applies).
This information includes line number references as well as
an
indication that a name is undefined (UND), duplicately
defined

(DUP), implicitly defined (IMP), or, if a program name,
externally defined (EXT).


LIST:
This is a COBOL compiler option. Format: LIST NOLIST
Abbreviations: None
IBM-default: NOLIST

LIST requests that the compiler produce a listing of the
generated machine language object code (which is produced
by printing out the corresponding assembler-language source
code). LIST also provides information in the output listing
about: • Global tables • Literal pools • WORKING-STORAGE

LET:No Idea BOSS. If you get any details kindly let me
know.

APOST:
APOST specifies that the single quote mark or apostrophe
(‘) is to be the delimiter character for non-numeric
literals.

RENT:
A program compiled as RENT is generated as a reentrant
object program; a program
compiled as NORENT is generated as a nonreentrant object
program. Either can be
invoked as a main program or subprogram.


In case further queries:do write at
samaysimant@rediffmail.com

Is This Answer Correct ?    1 Yes 0 No

what is the general use of PARM? Give an explanation about the system defined parameters that coul..

Answer / tnr

PARM parameter is used to pass the data to the COBOL
program from JCL.Using this parameter you can pass only 100
characters excluding quotes.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More JCL Interview Questions

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


There are two steps in a JCl, the first one generates a report while the second step send an email saying the report has been generated, but the second steps should only be executed when the report file is non-empty. How can it be acheived. We may include steps in between.

3 Answers   IBM,


How to execute only th 15th step of JCL consisting of 50 steps?

12 Answers   Bank Of America,


//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?

2 Answers   CCS, CTS,


What is QSAM error usually when it is occurs?

1 Answers  


Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below,  What will be the output file name in each step ?  PROC starts      Step 1 has ID.GDG.FILE(+1)      Step2 has  ID.GDG.FILE(+4) PEND Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ?  PROC starts      Step 1 has ID.GDG.FILE(+1) PEND PROC1 starts      Step2 has  ID.GDG.FILE(+4) PEND

2 Answers   FIS,


What are the kinds of job control statements?

3 Answers  


hi friends........if u know syntax of IEBEDIT IN JCL

2 Answers  


How to find the length of variable length copybook using fileaid ??

1 Answers   CSC,


how to resolve soc-7 ? please tell me

3 Answers   IBM,


How can i execute 5th step without executing first 4 steps?

4 Answers  


Categories