when we use sysprint and sysout statements
Answers were Sorted based on User's Feedback
Answer / deepak gairola
SYPRINT, SYSOUT, SYSUDUMP, SYSTSIN, SYSPUNCH etc... are the
special DD names... Please find the related info below:
SYSPUNCH - in this step you will get output from
translator, PASS it to compiler
The temporary data set containing object modules assembled
by running the job stream produced by system generation or
the GENERATE command. These modules are not installed in
the distribution libraries at ACCEPT time.
SYSOUT - The SYSOUT parameter identifies a data set as
a "SYStem OUTput" data set, consisting of printed or
punched output that will managed by JES2 or JES3. The
SYSOUT parameter names the output class to which the
printed or punched output belongs and optionally, an
external writer, or the forms on which the data set is to
be printed or punched, or it can refers to a JES2 /*OUTPUT
statement for processing parameters.
SYSIN & SYSPINT - SYSIN and SYSPRINT are automatically
provided by the compiler as file names. For this reason,
these two files do not have to be declared or explicitly
opened. For SYSPRINT, default attributes of STREAM, OUTPUT,
and (even though SYSPRINT contains more than 7 characters)
EXTERNAL are provided. Unless SYSPRINT is declared or
opened as something other than STREAM OUTPUT EXTERNAL,
PRINT is also provided as a default attribute. The names
SYSIN and SYSPRINT are not reserved by the compiler as file
names; They can be explicitly declared and used for other
purposes.
SYSABEND, SYSMDUMP, & SYSUDUMP
Use a SYSABEND, SYSMDUMP, or SYSUDUMP DD statement in a job
step to direct the system to produce a dump. The system
produces the requested dump:
- If the step terminates abnormally.
- If the step starts to terminate abnormally, but system
recovery
Procedures enable the step to terminate normally.
SYSABEND
Produces a dump of user and system areas; this dump
contains all the areas dumped in a SYSUDUMP, plus:
- The local system queue area (LSQA), including subpools
229, 230, and 249
- The input/output system (IOS) control blocks for the
failing task.
The dump is formatted, so that it can be printed directly.
SYSMDUMP
Produces a dump of the system areas and the program's
address space. The dump is unformatted and machine-
readable; to be used, it must be printed by the interactive
problem control system (IPCS).
SYSUDUMP
Produces a dump of user areas. The dump is formatted, so
that it can be printed directly.
SYSTSIN
Defines the DSN commands to connect to DB2 Database and to
run a program
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / arun
Based on utility.
1.when we use system defined utility.
sysprint- it'l give system defined utility messages.
2.when we use user defined utility.
sysout- it'l give user defined utility messages.
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / choot singh
Based on utility.
1.when we use system defined utility.
sysprint- it'l give system defined utility messages.
2.when we use user defined utility.
sysout- it'l give user defined utility messages.
| Is This Answer Correct ? | 2 Yes | 3 No |
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
How is a GDG base created?
describe the job statement, its meaning,syntax and significant keywords?
How can unused space allocation be returned to the system when a dataset is closed?
How to find the length of variable length copybook using fileaid ??
if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete
how to run batch program without jcl?
What does S0C4 error mean?
how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?
How I sort the records in a file and copy the first 10 records to another file
what happens if job falls in loop ? how to resolve it ?
Which dd parameters are required?