开云体育

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

WTO macro


 

There is a WTO macro documented in the z/VSE manuals.

But when I tried using WTO in my assembler code on DOS/VS
it said there was no such macro.

Does it exist, and if it does, is there something I need to do
to use it?

Or is there some other similar simple macro to display a
message somewhere?

Thanks. Paul.


 

That is a z/VSE only macro.
With z/VSE IBM did a complete rewrite on the console.

On Thu, Sep 5, 2024 at 9:03?AM Paul Edwards via <mutazilah=[email protected]> wrote:
There is a WTO macro documented in the z/VSE manuals.

But when I tried using WTO in my assembler code on DOS/VS
it said there was no such macro.

Does it exist, and if it does, is there something I need to do
to use it?

Or is there some other similar simple macro to display a
message somewhere?

Thanks. Paul.







--
Sincerely,

John Imholte


 

might get a few hints from the MVS source for SYS1.MACLIB




On Thu, Sep 5, 2024 at 7:51?PM John Imholte via <John.Imholte=[email protected]> wrote:
That is a z/VSE only macro.
With z/VSE IBM did a complete rewrite on the console.

On Thu, Sep 5, 2024 at 9:03?AM Paul Edwards via <mutazilah=[email protected]> wrote:
There is a WTO macro documented in the z/VSE manuals.

But when I tried using WTO in my assembler code on DOS/VS
it said there was no such macro.

Does it exist, and if it does, is there something I need to do
to use it?

Or is there some other similar simple macro to display a
message somewhere?

Thanks. Paul.







--
Sincerely,

John Imholte



--
Dr. Lee Smith
Chief Scientist


 

From memory in earlier dos versions it was pretty simple to use single ccws, a ccb pointing to syslog, and excp/wait. Just use one ccw for read and one for write
?


 

On Fri, Sep 6, 2024 at 07:51 AM, John Imholte wrote:

That is a z/VSE only macro.
Thanks all for your replies.

Good news is that the pdld (linker) author (from Slovakia)
has agreed to support the VSE format of an unloaded
(using CSERV) executable (phase). He has already done
MVS and CMS but both are having issues still.

This allows you to build a DOS/VS executable (and MVS
and CMS) on Windows.

But I need to provide example input object code and
matching executable and would like to keep it simple
by just having one assembler program call another.

I already know how to do that, but without a WTO I
can't easily see it working.

I would settle for an example that sets a non-zero
return code to return to DOS/VS with, but I don't see
DOS/VS printing my return codes.

This is using VSE/380.

Is there a way to see the return codes from executing
a DOS/VS phase?

Thanks. Paul.


 

Paul,
No need for low-level CCWs
?
Look in IBM publication:
GC33-5373-2
File No. 5370-30
DOS/VS Systems Supervisor and 1/0 Macros
?
page 42:
?
DTFCN defines an input or output file that is processed
on a 3210 or 3215 console printer-keyboard,
or a display operator console. DTFCN provides
GET /PUT logic as well as PUTR logic for a file.
?
?


 

Leo Langevin's book DOS/VSE/SP Guide for Systems Programming contains a WTO and WTOR program along with many any other helpful programs that early DOS didn't have.

Regards,
Gary