when we use sysprint and sysout statements

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax of JCL statement?

681


Matching Logic in Jcl not in cobol.Could any one please answer this question

3664


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1957


Is automatic restart possible in jcl?

722


what is DD statement is used in JCL?

671






What is the function of //jcllib statement?

791


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

1023


Explain the function of //cntl statement?

642


What are the parameter we cannot use in procedure?

629


which utility is used to run a cobol-db2 program?

795


How jcl is used for testing batch programs?

714


which parameter is used to check the syntax of a jcl without executing it?

790


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8649


Name the parameters which can be used to limit the number of records written to a sysout dataset?

646


For what purpose steplib and joblib are used ?

678