开云体育

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

Re: Going back to the future and writing programs for mainframes in the process


 

I would also suggest that you download and run the VMr6 package from


The VM forum is here :

Vm, is the easiest IBM os to get up and running and use.

It has an interactive "user-console"? (virtual machine),? and the commands to list, edit, copy files, are
very similar to msdos?/ unix.

The "community" edition link I posted, also has a full screen editor, and other "niceties" added on (online help for one), that the original vmR6 didn't have.

To assemble and run a "Hello World" program you would just use the A (assemble command) on your

HELLO ASSEMBLE? file.

HELLO? ? CSECT ? ? ? ? ? ? ? ? ? ? ?
? ? ? LR ?12,15 ? ? ? ? ? ? ? ? ?
? ? ? USING HELLO,12 ? ? ? ? ? ? ? ?
? ? ? WRTERM 'HELLO FROM ASM',14 ?
? ?? ? BR 14 ? ? ? ? ? ? ? ? ? ? ?
? ? ? END? ? ? ? ? ? ? ? ? ? ? ? ?

**** You need to add a? line to your PROFILE EXEC : to access the macro library that contains the WRTERM
macro.
GLOBAL MACLIB CMSLIB

Then assuming no assembly errors,? you would issue :??
LOAD HELLO
STA
Execution begins...
HELLO FROM ASM? ? ?

It is even possible to setup?a dosvs "virtual machine" to run dosvs? "inside"? vm.

Actually, the "VM Directory" entry for the dosvs?virtual machine is already setup,
you just need to download the dos dasd's?

?

If you don't already have a 3270 emulator, I would highly recommend Tom Brennan's Vista :


It's a great program, and priced at a ridiculously low price of $30 usd.
You can download a 30 day trial.

Mike

On Sat, Jun 3, 2023 at 10:18?AM Mike Stramba <mikestramba@...> wrote:
Andre,

Here are a couple?of sites you may be interested in



Tommy Sprinkle's site is not directly related to dos/vs, but it is very educational in showing how the basics
of an IBM OS can be constructed.



This is a very nicely constructed site, re: how to install / build dos360.
It includes example test programs to print / read-write from dasd, in Assembler, Fortran, Cobol and RPG.

Another interesting site / program, is Harold?Grovesteen's SATK? "bare metal" toolkit:



>But it turns out, that those examples are useless, because they use macros of PC/370 program and those macros not present in IBM OS's. How to import them, i don't know.

I wouldn't say the examples are useless.? It's only the macros that might need editing.

Dave Wade, wrote in your other thread in Herc390, that you can cut/paste the "body" of those macros
into your example code.

If you haven't already downloaded it,? I highly recommend that you download the Principles of Operation
from Bitsavers.org :?

Read up on the I/O instructions, and also see Tommy Sprinkle's site for more explanation on how the I/O
system works.

You can even run small programs directly in Hercules, by using the 'r' (display or alter real storage), 'restart',
step, psw hercules commands.

Mike

On Sat, Jun 3, 2023 at 9:40?AM Andre <procritic@...> wrote:
Hello Everyone,

My name is Andre, and i am new ibmuser. All my life i thought that Altair 8800 was the "first" computer, but then i have learned about mainframes. :)
My interest grew stronger and stronger, and then i found moshix channel at YouTube. That was the beginning of my journey.
Well, while other people try to run most recent operating systems, i was really interested in ancient ones.Tried UNIXv7, Multics and even CTSS.
But for me they are not so complicated as IBM OS/360. It is like OS from other dimension, from planet Nibiru.
Some companies do not release any good documentation, but IBM is not one of them, they release TOO MUCH, and their documentation is really hard to read or understand.
Maybe it was done intentionally, so people would be forced to buy support, i don't know.

So why DOS/VS? For me it is because this OS is closest to DOS360, and run perfectly on Hercules.
What is my goal? To write my own assembler program(not just hello world, but something more advanced) and run it successfully on DOS/VS. Plus points if it also would run on DOS/360.
What is my problem? Every time i find a good book about assembler, it seems that i found a book for wrong type of assembler. Nothing works. I am truly fascinated by programmers of that period.
Recently i started to read magnificent book by Bill Qualls "Mainframe Assembler Programming". He gives a lot of code examples and recommends to run them on PC/370 by Don Higgins.



But it turns out, that those examples are useless, because they use macros of PC/370 program and those macros not present in IBM OS's. How to import them, i don't know.
Also, i have big problem with JCL. It seems that for every type of OS there is different syntax for JCL. And lots of sites cover JCL for latest z/OS, not for DOS/VS.
I am looking for help here, only because i feel that i am stuck.

Maybe there is someone, who also read Bill Qualls book and was able to run his examples on Hercules.
Or maybe someone would recommend other good assembly book, with examples that would work on DOS/VS.
Or maybe someone would share with me universal JCL for DOS/VS that should run almost any intermediate assembly program.

Any help are welcomed.

Best wishes,
Andre


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