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 |
How do you create a temporary dataset? Where will you use them?
I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?
What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?
can a job be submitted through jcl only? is there another way to submit a job?
I have three files for one step i need to override the third file how to do that in jcl?
What is the difference b/w the CLASS,TIME,PRTY in jcl job card.
How to execute only th 15th step of JCL consisting of 50 steps?
Are there any set of rules for the names of the steps used in a job?
proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code
Explain the job statement in jcl?
Explain about User Information
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed