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..

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the motivation behind coding class parameter in job statement?

655


What is the function of the dd dcb keyword?

792


Differentiate between addressing mode and run mode.

588


What do you understand by the terms: joblib and steplib?

592


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1925






how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

769


How to submit jcl through a cobol program?

648


What is the purpose of the dd keylen parameter?

689


How is a type of file defined in the jcl that executes the cobol program?

689


which utility is used a dummy utility?

746


Explain about LMFREE�free data set from its association with data ID

970


Explain how can the disposition of sysout datasets be set for an entire jobstream?

611


what happens in conversion stage in job processing?

699


Is it possible to code instream data in a PROC?

718


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7552