Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ASG-SMARTTEST : Disable displays in cobol while debugging...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
NOWAR

New User


Joined: 20 Feb 2007
Posts: 11
Location: Houthalen, Belgium

PostPosted: Mon Oct 15, 2007 6:04 pm    Post subject: ASG-SMARTTEST : Disable displays in cobol while debugging...
Reply with quote

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
View user's profile Send private message

shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Fri Jan 18, 2008 3:58 pm    Post subject: Reply to: ASG-SMARTTEST : Disable displays in cobol while de
Reply with quote

Did u try commenting out
SOURCE-COMPUTER. IBM-30XX WITH DEBUGGING MODE. for
*SOURCE-COMPUTER. IBM-30XX.
Back to top
View user's profile Send private message
NOWAR

New User


Joined: 20 Feb 2007
Posts: 11
Location: Houthalen, Belgium

PostPosted: Wed Jan 23, 2008 11:58 am    Post subject: Reply to: ASG-SMARTTEST : Disable displays in cobol while de
Reply with quote

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
View user's profile Send private message
NOWAR

New User


Joined: 20 Feb 2007
Posts: 11
Location: Houthalen, Belgium

PostPosted: Wed Jan 23, 2008 12:26 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Jan 23, 2008 8:47 pm    Post subject:
Reply with quote

Hello,

Thank you for posting your solution icon_smile.gif

Keep in mind that SYSOUT=X may be specific to your system - other systems may use a different sysout class.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us