Hey, look at that!  I never knew why the famous IEFBR14 was so named; now I 
guess maybe I do, though I won't be guessing after I look up the BR 
instruction).

---
Bob Bridges, [email protected], cell 336 382-7313

/* The historic case against miracles...consists of calling miracles 
impossible, then saying that no one but a fool believes impossibilities: then 
declaring that there is no wise evidence on behalf of the miraculous. The whole 
trick is done by means of leaning alternately on the philosophical and 
historical objection. If we say miracles are theoretically possible, they say, 
“Yes, but there is no evidence for them.” When we take all the records of the 
human race and say, “Here is your evidence,” they say, “But these people were 
superstitious, they believed in impossible things.”  -from "Miracles and Modern 
Civilisation" by G K Chesterton */

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
John Dravnieks
Sent: Tuesday, September 5, 2023 04:24

If you are truly interested in learning System z assembler, then one resource 
you could use is the late John Ehrman's book 'Assembler Programming for IBM 
System z Servers'  - a quick google search should find it for you.

The reason I am posting this is to mention some macros detailed in Appendix B - 
using these macros will hide away a lot of the complexity of z/OS I/O so you 
can concentrate on all the other details while you learn.

Here is a simple 'Hello world' program using the Printlin macro from this set:

*                                                        
* Hello world                                            
*                                                        
Hello    csect                                           
         using hello,15                                  
*                                                        
         PrintLin Heading,l'heading   print page hdr     
         br    14                                        
heading  dc    Cl28'1  Hello World!'                     
         end   hello                                     

By default, Printlin will write the output to the SYSPRINT DD 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to