when we use sysprint and sysout statements

Answers were Sorted based on User's Feedback



when we use sysprint and sysout statements..

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

when we use sysprint and sysout statements..

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

when we use sysprint and sysout statements..

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

Post New Answer

More JCL Interview Questions

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.

2 Answers   IBM,


what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

1 Answers  


I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? )

9 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?

5 Answers   IBM, JPMorgan Chase,






Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


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

0 Answers  


What is JCL LIB ?

3 Answers   Xansa,


with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?

1 Answers   TCS,


Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?

3 Answers  


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

0 Answers  


What is STEPLIB, JOBLIB? What is it used for?

2 Answers  


Categories