View previous topic :: View next topic
|
Author |
Message |
NOWAR
New User
Joined: 20 Feb 2007 Posts: 11 Location: Houthalen, Belgium
|
|
|
|
Hey,
I'm debugging a cobol program in ASG-SMARTTEST 7.3 (OS : Z/OS 1.8) and in this cobol-source you have severals display-statements, which normally displays information in the sysout of the job. But if you debug the program by PF4 (go run), you see for each display-statement the displayed line on de console, and everytime a console-screen is full you must press enter to go further and that is not fine. Is there a way that you must not press enter every time the screen is full. Is there an command (or set an function) that the enter must not press manual everytime ?
Thanks a lot |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
Did u try commenting out
SOURCE-COMPUTER. IBM-30XX WITH DEBUGGING MODE. for
*SOURCE-COMPUTER. IBM-30XX. |
|
Back to top |
|
|
NOWAR
New User
Joined: 20 Feb 2007 Posts: 11 Location: Houthalen, Belgium
|
|
|
|
I didn't try that. But a friend at work told me to change the sysout in the JCL to the X-class.
So in the jcl (or in the generated clist) you must write SYSOUT=X
Than the dislays are not displayed anymore at the console, only in the spool. And this is working.
In the next post I will give an example. I hope that somebody could use this information. |
|
Back to top |
|
|
NOWAR
New User
Joined: 20 Feb 2007 Posts: 11 Location: Houthalen, Belgium
|
|
|
|
Here is a example :
//PEAPB*** EXEC ***,PGMNAM='PEAPB***',
// PGMPAR='200700150N1N'
//OVERLAY1 DD DSN=...,
// DISP=(,CATLG,KEEP),
// UNIT=DISK,
// SPACE=(CYL,(10,4),RLSE),
// RECFM=FB,LRECL=256,BLKSIZE=0
//SYSOUT DD SYSOUT=X (--> this statement is important for smartest. This will not display the display-statements on the console but on the spool) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Thank you for posting your solution
Keep in mind that SYSOUT=X may be specific to your system - other systems may use a different sysout class. |
|
Back to top |
|
|
|