¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Where to find the output of a COBOL program?


 

The other way to see your DISPLAYs is to use MSGCLASS=C (on my
MVS3.8j/Hercules System this is the "held" output sysout class) and change
your Go.SYSOUT to be:
//GO.SYSOUT DD SYSOUT=*

This results in the SYSOUT output using the MSGCLASS class. You should then
be able to view the DISPLAYs using RPF option 3.6 or RFE option 3.8.

Ron Lucas
Lucasrb58@...

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of cjar1950 via
groups.io
Sent: Saturday, August 20, 2022 11:03 AM
To: [email protected]
Subject: Re: [H390-MVS] Where to find the output of a COBOL program?

I would try MSGCLASS=A

Chris
--
<cjar1950@...>



----------------------------------------------------------------------------
------------------------------------------------------
On Sat, 20 Aug 2022 01:44:42 -0700
doscar.sole@... wrote:
Hi:


I have had a lot of problems with MSGCLASS, but I would recommend simply
deleting it.
Didn't work, same output.


Where do you want to see your output?
On the TSO screen / job output... I mean, something like

J E S 2? ?J O B? ?L O G
3.30.07 JOB? ? 2? $HASP373 HELLO? ? STARTED - INIT? 1 - CLASS A - SYS HMVS
3.30.07 JOB? ? 2? IEF403I HELLO - STARTED - TIME=03.30.07
3.30.07 JOB? ? 2? IEC130I SYSPUNCH DD STATEMENT MISSING
3.30.07 JOB? ? 2? IEC130I SYSLIB? ?DD STATEMENT MISSING
3.30.07 JOB? ? 2? IEC130I SYSPUNCH DD STATEMENT MISSING
3.30.07 JOB? ? 2? IEFACTRT COB? ?
?/IKFCBL00/00:00:00.14/00:00:00.34/00000/HELL
3.30.07 JOB? ? 2? IEFACTRT GO? ? ? /LOADER?
/00:00:00.03/00:00:00.12/00000/HELL
3.30.07 JOB? ? 2? IEF404I HELLO - ENDED - TIME=03.30.07
*--> here the displays*
3.30.07 JOB? ? 2? $HASP395 HELLO? ? ENDED


I have no idea what MSGCLASS=O is - is it something you have defined
yourself?
On my work experience (as I told I have zero experience on sysadmin for
Mainframe), I always understood that
MSGCLASS=X --> supress output
MSGCLASS=O --> send output to output queue

Looks like not... so I learned something today!


So, at this point, I would ask you to show us the output of the console
command:

$du

to have an idea of the status of your (JES2 controlled) unit record
devices.
00- $du
$HASP000 READER1? ?00C INACTIVE
$HASP000 PRINTER1? 00E INACTIVE
$HASP000 PRINTER2? 00F INACTIVE
$HASP000 PRINTER3? 015 DRAINED
$HASP000 PUNCH1? ? 00D INACTIVE

Thanks all for your answers!




Join [email protected] to automatically receive all group messages.