¿ªÔÆÌåÓý

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

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


 

¿ªÔÆÌåÓý

Try:

DISPLAY ... UPON CONSOLE.

Ron

Sent from my Verizon, Samsung Galaxy smartphone
Get


From: [email protected] <[email protected]> on behalf of doscar.sole@... <doscar.sole@...>
Sent: Saturday, August 20, 2022 4:44:42 AM
To: [email protected] <[email protected]>
Subject: Re: [H390-MVS] Where to find the output of a COBOL program?
?
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.