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
Explain about LMQUERY�give a dialog information about a data set
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
is there any way to execute more than one proc in the same exec statement at the same time..?
What is the purpose of dd * statement in jcl?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What is multithreading in jcl?
What do you understand by the term job time – out and how can you overcome that?
What is the purpose of disp parameter?
What is condition checking in jcl? Is this possible?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Why block size is multiple of lrecl in jcl?
What is the significance of addrspc parameter in exec statement?
How do you overcome this limitation ?
Name the statement which can be used to send data to another mvs jes3 node?