View previous topic :: View next topic
|
Author |
Message |
knd_r Currently Banned New User
Joined: 18 Mar 2005 Posts: 48
|
|
|
|
hi,
what is the difference between
//sysprint dd sysout=*
and
//sysout dd sysout=*
bye,
ks reddy. |
|
Back to top |
|
|
subhasis_50
Moderator
Joined: 09 Mar 2005 Posts: 363 Location: Earth
|
|
Back to top |
|
|
knd_r Currently Banned New User
Joined: 18 Mar 2005 Posts: 48
|
|
|
|
hi,
i am executing a step with a program which displays a line.
what will be the output for
//sysprint dd - - -
and
//sysout dd - - |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
define both in your JCL and see what you get in each upon execution
Dave |
|
Back to top |
|
|
prasannanjaneya Warnings : 1 New User
Joined: 14 Mar 2005 Posts: 10 Location: pune
|
|
|
|
hi knd,
sysin and sysout are system defind file names in cobol. if ur program is not containing any files, sysout in cobol contains output to ur program. and sysprint is for to get messages regarding ur program execution. this is same in jcl as well as cobol. sysout carries program output. and sysprint ment for messages generated while program execution. |
|
Back to top |
|
|
SteveConway
New User
Joined: 26 May 2005 Posts: 28 Location: Northern VA, USA
|
|
|
|
The bottom line is that each program uses specific DD's for specific purposes. Depending on the program, it may use one or the other, both, or neither. It is completely based on what the programmer coded his/her program to do. Some languages and certain utilities use specific DDs each and every time; others do not.
Cheers,,,Steve |
|
Back to top |
|
|
|