New to Assembler Programming



High Level Assembler(HLASM) for MVS & VM & VSE

New to Assembler Programming

Postby adurthisridhar » Thu Mar 04, 2010 11:03 pm

Hi,

Now I am working in Mainfranme systems side. I would like to learn the System programming (Assembler). I started reading the IBM redbooks for assembler. But it is very difficult for me to understand some concepts (as I am new to assemblers).

Could any one please suggest me best books for assembler fresher.

Thanks in anticipation.

Thanks,
Sridhar A
adurthisridhar
 
Posts: 28
Joined: Thu Mar 04, 2010 6:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: New to Assembler Programming

Postby Robert Sample » Thu Mar 04, 2010 11:34 pm

System programming actually has little to do with Assembler. System programmers typically can use Assembler, though it is not a requirement these days. Assembler is just a low-level language for the mainframe.

Google is your friend: mvs assembler returns over 3 million hits, including a number of books that can be bought along with web sites that have good examples.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: New to Assembler Programming

Postby dick scherrer » Fri Mar 05, 2010 1:10 am

Hello,

Could any one please suggest me best books for assembler fresher.
My personal favorite is an Assembler book written by Kevin McQuillen. It is (the newer edition) available thru http://www.murach.com which contains
http://www.murach.com/books/mbal/index.htm

Good luck :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: New to Assembler Programming

Postby David Woolbright » Thu Mar 11, 2010 2:08 am

Shameless plug: I've had many students tell me the materials I developed and put on my site (http://csc.colstate.edu/woolbright/WOOLBRIG.htm) were helpful. There are general articles there about programming assembler, as well as specific articles that address many instructions. I've included much material on the site that I gleened from many years of teaching and writing assembler for corporations. There is a great text called Programming IBM Assembler IBM 370 by Peter Abel that you can still find on used book sites for a few dollars. Any version of that book will be helpful as the basic language for beginners hasn't changed much, even though the machine has evolved considerably. Abel also has a PC Assembler book, so make sure you get the IBM 370 or 390 version for mainframes.
David Woolbright
 
Posts: 2
Joined: Wed Mar 10, 2010 9:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: New to Assembler Programming

Postby dick scherrer » Thu Mar 11, 2010 3:13 am

Hello David and welcome to the forum,

Thank you for sharing the link to your material :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: New to Assembler Programming

Postby adurthisridhar » Wed Mar 17, 2010 6:43 pm

Hi David,

it is an excellent material and very easy to understand. Thank you so much for providing such a great notes.

Thanks,
Sridhar A
adurthisridhar
 
Posts: 28
Joined: Thu Mar 04, 2010 6:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: New to Assembler Programming

Postby jeffld » Mon Nov 15, 2010 10:24 pm

I have a simple Hello World Assembler program with sample JCL to Compile Link and Execute.

http://polysyncronism.com/wordpress/?p=415

The code assumes that you know how to create a PDS and a Load Library. A load library is simply a RECFM=U PDS.
jeffld
 
Posts: 2
Joined: Mon Nov 15, 2010 10:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: New to Assembler Programming

Postby steve-myers » Tue Nov 16, 2010 12:21 am

jeffld wrote:... A load library is simply a RECFM=U PDS.

That is correct.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: New to Assembler Programming

Postby steve-myers » Tue Nov 16, 2010 2:07 am

Unfortunately the HLASMxxx procedures are a little different from site to site, but this might work.
//A       EXEC HLASMCLG
//SYSIN    DD  *
  --- Your program ---
//G.SYSPRINT DD SYSOUT=*
The default is to create a small load library in the L step that is then used to execute the program in the G step. This way you don't have to create a load library PDS, though the exercise of doing it might be a good introduction to creating data sets in z/OS.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: New to Assembler Programming

Postby jeffld » Sun Nov 21, 2010 8:27 pm

steve-myers wrote:Unfortunately the HLASMxxx procedures are a little different from site to site, but this might work.


I remember the first time that I learned that things differ from site to site was when I got a job in my field after college. I talked to one of the mainframe system people at my first job and asked about why some code that worked for me in college, didn't work on the company mainframe. The term my first mainframe systems person told me is that some of the things you will see here are Installation specific.

I have had access to several mainframes over my career, and sure enough, things differ between them. It can be a bit annoying, but I guess there is a reason for it.
jeffld
 
Posts: 2
Joined: Mon Nov 15, 2010 10:07 pm
Has thanked: 0 time
Been thanked: 0 time

Next

Return to Assembler

 


  • Related topics
    Replies
    Views
    Last post