View previous topic :: View next topic
|
Author |
Message |
sand Warnings : 1 New User
Joined: 20 Nov 2005 Posts: 19
|
|
|
|
Hi all,
what is the difference between //sysprint dd sysout=*
and //sysout dd sysout=*
In coding point of view when we will use //sysprint dd sysout=*
and when //sysout dd sysout=*
Reason for Warning: Posted the Same question thrice. TITLE EDITED
Thanks.
Sand |
|
Back to top |
|
|
balusengodan
New User
Joined: 01 Mar 2005 Posts: 15 Location: chennai
|
|
|
|
hi sand,
if i am right please take this message if not please send me the correct one to me
//sysout dd sysout=*
is used only when you are using sort and merge ibm utilities
where as
//sysprint dd sysout=*
is used for rest of the jcl which is used to print the messages tegarding the executed jobs to the spool area
if it is correct please send me ackowledge if not send me correct one
and i apologize for wrong if it so
thanks
balu.s |
|
Back to top |
|
|
urnarendra
New User
Joined: 29 Jun 2005 Posts: 7
|
|
|
|
Hi,
sysprint is used for mainly to print the output in aspecified dataset
i mean to say that,if we want take a out put in a personal dataset we should specifie in //sysprint dd dsn=tst.ibm...........
anywhy sysprint is used for to print the out put in a specified location
sysout is used for to rout the out into specified device.i.e if u specified
//sysout dd sysout=a, the out is going to the printer......
if i wrong correct it?
cheers,
K.N.CHOWDARy. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Sand,
I don't know for certain, but my guess is that because SYSOUT is the default destination for DISPLAYed data, SYSPRINT is used for printed data.
You normally would use WRITEs to print the SYSPRINT data and DISPLAYs for the SYSOUT data. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
It depends on the application in your EXEC statement (actually, in the allocation inside the program). For example - in TSO you use SYSTSPRT for your output prints; In NATURAL, you use CMPRT etc.
O. |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
//SYSPRINT DD SYSOUT=*
IS USED WHEN THERE IS ANY MESSAGE FROM THE UTILITY.
//SYSOUT DD SYSOUT=*
IS USED WHEN THERE IS ANY MESSAGE FROM THE PROGRAM.
I WILL TRY TO EXPLAIN WITH EXAMPLE.
WHEN WE ARE USING IEFBR14 UTILITY, THIS UTILITY WONT PERFORM ANY OPERATION. THIS IS A DUMMY UTILITY.
THIS UTILITY WONT GENERATE ANY MESSAGE.
SO WE DONT NEED
//SYSPRINT DD SYSOUT=*
WHEN USING THE IEFBR14
WHEN WE USE IEBGENER UTILITY,
THIS UTILITY GENERATES A MESSAGE THAT
GENARATE AT EOF i.e. end of file, etc
SO THIS MESSAGE IS GENERATED BY THE UTILITY
WE NEED
//SYSPRINT DD SYSOUT=*
WHEN USING IEBGENER UTILITY.
IF WE ARE NOT CODING THIS , WE WILL SURELY GET ERROR THAT SYSPRINT DD STATEMENT IS MISSING.
I THINK IT MUST BE CLEAR NOW.
IF I AM WRONG SOMEWHERE PLEASE CORRECT ME
THANK YOU
DO SEND ME THE REPLY
PAWAN
09822546416 |
|
Back to top |
|
|
|