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
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
|Is This Answer Correct ?||8 Yes||1 No|
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.
This is a COBOL compiler option. Format: XREF NOXREF
Abbreviations: X NOX
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
(i.e., at the right hand end of the line to which it
This information includes line number references as well as
indication that a name is undefined (UND), duplicately
(DUP), implicitly defined (IMP), or, if a program name,
externally defined (EXT).
This is a COBOL compiler option. Format: LIST 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
APOST specifies that the single quote mark or apostrophe
(‘) is to be the delimiter character for non-numeric
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
|Is This Answer Correct ?||1 Yes||0 No|
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|
can u execute a proc from another proc?
Can an individual step be restricted from using all the jobs allowed cpu time?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
How I sort the records in a file and copy the first 10 records to another file
How are datasets concatenated?
If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
Explain the job statement in jcl?
If a jcl has just 1 step and the input file to this does not exist, then what will happen if we submit this job?
Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?
jcl is like a complier....?