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 

Kind regards 
John 

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

Reply via email to