Hi Duc,


You should have a look at Dr John  R.  Ehrman Assembler Programing Guide here :



http://www.cbttape.org/ftp/asmbook/alnv200.pdf



A must read if you want to learn z/OS Assembler.



Ciao,



--------------------------------------------------

Raphael Dal Pos / z/OS Support

Generali Shared Services S.c.a.r.l.

GSS\CIN-MF (Central Infrastructure Mainframe)

11-17, Avenue François Mitterrand

93200 Saint Denis / France

Wilo W 03 B1 029C

raphael.dal...@generali.com +(33)1-58-38-59-67

                  or mobile +(33)6.24.33.20.87

--------------------------------------------------

"MVS: Guilty, until proven innocent !!" RDP 2009





-----Message d'origine-----
De : IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] De la part 
de Nguyen Dt
Envoyé : dimanche 5 juillet 2020 17:24
À : IBM-MAIN@LISTSERV.UA.EDU
Objet : Re: Assembler question



Thank you all for your inputs,



I am over the problem now.

In fact what i tried to do is to Move some fields to my output fields and then 
write it as a report. (It is a Db2 performance report, the input are from the 
trace buffers with the macros given by Db2 libraries)



So my program is roughly like this

READ Buffer on QW... variables



MVC OW...,QW...



OW... are the output fields i defined it exactly as in the DSECT got from the 
macros.

As it is an output field, the position is important  (and it is why i detected 
a problem in the positions of my fields)

Its is OK now with OW... variables defined as characters CLx



(PS: When i use NOALIGN , the program abends at execution ...)



As i learn assembler "on the flight" , there is some important things that i 
don' t understand , such as the alignment .... This is something we don't care 
in cobol , rexx .... Can you tell me why assembler has the alignment in words 
that are easy to understand and visualize in my little head ?



Thank you again.

Duc



----------------------------------------------------------------------

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to