开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Back to old problems: printers not draining.


 

Hi
?
I run a version of TK4- (I know: I should move on to TK5).? This happens on a Mac, Mac OS Sequoia and Intel machine.

I start TK4- and run a couple of simple things (these days I am fooling around with COBOL).

Now.
?
First of all I do not seem to be able to get anything "printed" on the files `prt/prt???.txt`.? From QUEUE or OUTLIST, I try to "release" the output but nothing happens.

Next, I issue `shutdown` an the system hangs after `$HASP395 BSPPILOT ENDED` because `PRINTER1` and `PRINTER2` are draining.? To move on I have to issue
`/$e prt1`
`/$e prt2`
`/$c prt1`
`/$c prt2`
?
After that the system moves on and terminates (although sometimes it crashes).? Note the
```
HHC01250E 0:000E Printer: error in function write(): Operation timed out
HHC00007I Previous message from function 'write_buffer' at printer.c(264)
```
error messages (this is obviously from Hercules).

I am attaching the logs of a typical interaction.
?
All the best
?
Marco
?
?
?
?
--
Marco Antoniotti
Somewhere over the rainbow


 

开云体育

Marco,

Just a couple of points –

Looking at the LOG file you sent –

You have BOTH printer 1 and printer 2 – waiting for you to perform the SETUP

THIS is why you are not getting any output – they are BOTH waiting for OPERATOR command

This is asking you to verify that the printer is set up with the attributes that are displayed – you can reply with $S PRINTER1 ?and/ or $S PRINTER2

?

?

Printer1 ?to PRINT the output of MF1 job

?

13:45:16 /19.45.16 STC 3731 *$HASP190 MF1????? SETUP -- PRINTER1 -- F = 0001 -- C = 6??? -- T = QN

13:45:16 HHC01250E 0:000E Printer: error in function write(): Operation timed out

13:45:16 HHC00007I Previous message from function 'write_buffer' at printer.c(264)

?

Printer2 is waiting for setup to print the output of TP job

?

13:45:16 /19.45.16 STC 3712 *$HASP190 TP?????? SETUP -- PRINTER2 -- F = 0001 -- C = 6??? -- T = QN

13:45:16 HHC01250E 0:000F Printer: error in function write(): Operation timed out

13:45:16 HHC00007I Previous message from function 'write_buffer' at printer.c(264)

13:45:16 /19.45.16?????????? IEA000I 00F,EQC,09,0E00,1000,,,JES2??? ,19.45.16

?

?

At shutdown

The commands you are issuing - /$E is RESTART –

I believe you want to issue /$P prtx (where x is the printer in question) – this is the DRAIN command

?

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one’s lifespan

?

From: [email protected] <[email protected]> On Behalf Of Marco Antoniotti via groups.io
Sent: Thursday, March 6, 2025 2:32 PM
To: [email protected]
Subject: [H390-MVS] Back to old problems: printers not draining.

?

Hi

?

I run a version of TK4- (I know: I should move on to TK5).? This happens on a Mac, Mac OS Sequoia and Intel machine.

I start TK4- and run a couple of simple things (these days I am fooling around with COBOL).

Now.

?

First of all I do not seem to be able to get anything "printed" on the files `prt/prt???.txt`.? From QUEUE or OUTLIST, I try to "release" the output but nothing happens.

Next, I issue `shutdown` an the system hangs after `$HASP395 BSPPILOT ENDED` because `PRINTER1` and `PRINTER2` are draining.? To move on I have to issue

`/$e prt1`

`/$e prt2`

`/$c prt1`

`/$c prt2`

?

After that the system moves on and terminates (although sometimes it crashes).? Note the

```
HHC01250E 0:000E Printer: error in function write(): Operation timed out
HHC00007I Previous message from function 'write_buffer' at printer.c(264)

```

error messages (this is obviously from Hercules).

I am attaching the logs of a typical interaction.

?

All the best

?

Marco

?

?

?

?

--

Marco Antoniotti
Somewhere over the rainbow


 

I didn't see Hercules initializing either (or any) printer devices in the 3033.log.? I may have missed them, but might want to check that.


On Thu, Mar 6, 2025, 2:41?PM Jeff Bassett via <bassettj=[email protected]> wrote:

Marco,

Just a couple of points –

Looking at the LOG file you sent –

You have BOTH printer 1 and printer 2 – waiting for you to perform the SETUP

THIS is why you are not getting any output – they are BOTH waiting for OPERATOR command

This is asking you to verify that the printer is set up with the attributes that are displayed – you can reply with $S PRINTER1 ?and/ or $S PRINTER2

?

?

Printer1 ?to PRINT the output of MF1 job

?

13:45:16 /19.45.16 STC 3731 *$HASP190 MF1????? SETUP -- PRINTER1 -- F = 0001 -- C = 6??? -- T = QN

13:45:16 HHC01250E 0:000E Printer: error in function write(): Operation timed out

13:45:16 HHC00007I Previous message from function 'write_buffer' at printer.c(264)

?

Printer2 is waiting for setup to print the output of TP job

?

13:45:16 /19.45.16 STC 3712 *$HASP190 TP?????? SETUP -- PRINTER2 -- F = 0001 -- C = 6??? -- T = QN

13:45:16 HHC01250E 0:000F Printer: error in function write(): Operation timed out

13:45:16 HHC00007I Previous message from function 'write_buffer' at printer.c(264)

13:45:16 /19.45.16?????????? IEA000I 00F,EQC,09,0E00,1000,,,JES2??? ,19.45.16

?

?

At shutdown

The commands you are issuing - /$E is RESTART –

I believe you want to issue /$P prtx (where x is the printer in question) – this is the DRAIN command

?

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one’s lifespan

?

From: [email protected] <[email protected]> On Behalf Of Marco Antoniotti via
Sent: Thursday, March 6, 2025 2:32 PM
To: [email protected]
Subject: [H390-MVS] Back to old problems: printers not draining.

?

Hi

?

I run a version of TK4- (I know: I should move on to TK5).? This happens on a Mac, Mac OS Sequoia and Intel machine.

I start TK4- and run a couple of simple things (these days I am fooling around with COBOL).

Now.

?

First of all I do not seem to be able to get anything "printed" on the files `prt/prt???.txt`.? From QUEUE or OUTLIST, I try to "release" the output but nothing happens.

Next, I issue `shutdown` an the system hangs after `$HASP395 BSPPILOT ENDED` because `PRINTER1` and `PRINTER2` are draining.? To move on I have to issue

`/$e prt1`

`/$e prt2`

`/$c prt1`

`/$c prt2`

?

After that the system moves on and terminates (although sometimes it crashes).? Note the

```
HHC01250E 0:000E Printer: error in function write(): Operation timed out
HHC00007I Previous message from function 'write_buffer' at printer.c(264)

```

error messages (this is obviously from Hercules).

I am attaching the logs of a typical interaction.

?

All the best

?

Marco

?

?

?

?

--

Marco Antoniotti
Somewhere over the rainbow


 

On 3/6/25 2:31 PM, Marco Antoniotti via groups.io wrote:
Hi
I run a version of TK4- (I know: I should move on to TK5).? This happens on a Mac, Mac OS Sequoia and Intel machine.
I start TK4- and run a couple of simple things (these days I am fooling around with COBOL).
Now.
First of all I do not seem to be able to get anything "printed" on the files `prt/prt???.txt`.? From QUEUE or OUTLIST, I try to "release" the output but nothing happens.
Next, I issue `shutdown` an the system hangs after `$HASP395 BSPPILOT ENDED` because `PRINTER1` and `PRINTER2` are draining.? To move on I have to issue
`/$e prt1`
`/$e prt2`
`/$c prt1`
`/$c prt2`
After that the system moves on and terminates (although sometimes it crashes).? Note the
```
HHC01250E 0:000E Printer: error in function write(): Operation timed out
HHC00007I Previous message from function 'write_buffer' at printer.c(264)
```
error messages (this is obviously from Hercules).
I am attaching the logs of a typical interaction.
All the best
Marco
--
Marco Antoniotti
Somewhere over the rainbow
Question what does your config look like for devices at 00E and 00F?
Is it set up to go to a file or is it a socketdev?

If a socketdev, is anything connected if so what does that look like?

--

William C Doughty III

<#part type="application/pgp-keys" filename="~/n2ocm.asc" disposition=attachment description="pgp public key">
<#/part>


 

Hi all,
?
Mostly is a $sprt1 and $sprt2 enough.
Don't use the $zprtn command.
?
Cheers,
Rob


 

Thank you all.

I attach my (two) configuration files.

But why doesn't TK4- start the printers?? If I messed up something, where should I look?? After all I just added a user, a DASD and a EBCDIC reader.
?
All the best
?
Marco
?
?
--
Marco Antoniotti
Somewhere over the rainbow


 

开云体育

Marco

?

First – lets look back at the previous LOG you sent –

The printers ARE already started –

Previously – I pointed out? that PRINTER1 had a job (see the $HASP190 message?)? - called MF1 – ready to print – JES2 – is asking – IS THIS THE CONFIGURATION YOU WANT TO USE ??

This is the JES SETUP message – in a REAL computer room – the printer is over on the other side of the room - - this is asking if the printer is ready to print using FORM=0001 – at 6 lines per inch and with a QN print train

?

If ready – all you need is to reply $S PRINTER1 (start printer1 – if not – you can issue a $T command (this is a SET command) to change the attributes

?

?

?

Printer1 ?to PRINT the output of MF1 job

?

13:45:16 /19.45.16 STC 3731 *$HASP190 MF1????? SETUP -- PRINTER1 -- F = 0001 -- C = 6??? -- T = QN

13:45:16 HHC01250E 0:000E Printer: error in function write(): Operation timed out

13:45:16 HHC00007I Previous message from function 'write_buffer' at printer.c(264)

?

Now in THIS case, we are again being asked Similarly, we see a $HASP190 message with the TP job.? This is again asking – HEY OPERATOR, is PRINTER2 ready to print using FORM-0001 at 6 Lines per inch with a QN print train ???

?

Printer2 is waiting for setup to print the output of TP job

?

13:45:16 /19.45.16 STC 3712 *$HASP190 TP?????? SETUP -- PRINTER2 -- F = 0001 -- C = 6??? -- T = QN

13:45:16 HHC01250E 0:000F Printer: error in function write(): Operation timed out

13:45:16 HHC00007I Previous message from function 'write_buffer' at printer.c(264)

13:45:16 /19.45.16?????????? IEA000I 00F,EQC,09,0E00,1000,,,JES2??? ,19.45.16

?

Now you further have a different issue – because BOTH have received a equipment check – Looking at your config –

You have both printers directed to a file.?? Printer 1 goes to a file in a directory called prt/a file called PRT00E.txt and printer2 goes to a file in a directory called PRT and a file called PRT002.txt? ?I SUSPECT – THAT YOU DO NOT HAVE THIS PATH OR DIRECTORY AVAILABLE ??

0002 3211 prt/prt002.txt ${TK4CRLF}

000E 1403 prt/prt00e.txt ${TK4CRLF}

?

-J-

?

Jeff Bassett

Bassettj@...

(301) 424-3362 (office)

(240) 388-7148 Cell

?

Time spent flying? - is NOT deducted from one’s lifespan

?

From: [email protected] <[email protected]> On Behalf Of Marco Antoniotti via groups.io
Sent: Friday, March 7, 2025 4:58 PM
To: [email protected]
Subject: Re: [H390-MVS] Back to old problems: printers not draining.

?

Thank you all.

I attach my (two) configuration files.

But why doesn't TK4- start the printers?? If I messed up something, where should I look?? After all I just added a user, a DASD and a EBCDIC reader.

?

All the best

?

Marco

?

?

--

Marco Antoniotti
Somewhere over the rainbow


 

Than you for your reply.

First of all, I have the proper files (`prt/prt002.txt` and `prt/prt00e.txt`) in place.
?
I understand the mechanics of starting the printers, however, I must ask how come TK4- does not start the printers itself.
?
How and where can I modify the startup procedure to ensure that the printers are started up?
?
Thanks
?
?
--
Marco Antoniotti
Somewhere over the rainbow


 

On 08/03/2025 14:12, Marco Antoniotti via groups.io wrote:
Than you for your reply.

First of all, I have the proper files (`prt/prt002.txt` and `prt/prt00e.txt`) in place.
I understand the mechanics of starting the printers, however, I must ask how come TK4- does not start the printers itself.
How and where can I modify the startup procedure to ensure that the printers are started up?
Thanks
Are you using the standard scripts to start the TK4 / 5 system ?

Here the printer spools are started as standard.

Need to point out that I have modified the ctl file to support translation to .pdf files as music paper.

Vince


 

On Sat, Mar 8, 2025 at 06:12 AM, Marco Antoniotti wrote:
How and where can I modify the startup procedure to ensure that the printers are started up?
The startup procedure is SYS1.PARMLIB(STARTSTD) but I think your problem is not there. As Jeff mentioned, your printers ARE started but you get an equipment check (message IEA000I) on the printers. If the print files were absent or the forms were to be confirmed, you would get INT REQ (intervention required) instead of EQC (equipment check). Could it be that the problem (somehow) comes from running the Hercules executable of TK4- on macOS Sequoia? I know it works fine on my Mac running Ventura.
?
Cheers,
?
Rene FERLAND, Montreal


 

Thank you René.
?
I totally missed that bit about the "equipment check".? I have no idea why this is happening, and the Sequoia hypothesis (or Sonoma) is the only one reasonable; plus, I am very naughty, and the printer files are actually on a Google Drive.
?
All the best
?
Marco
?
?
--
Marco Antoniotti
Somewhere over the rainbow