using assembler on z/linux why should you care who is this where are we what happened how was it...

8
Using assembler on z/LINUX Why should you care Who is this Where are we What happened How was it solved Conclusion

Upload: bernadette-golden

Post on 02-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Using assembler on z/LINUX

Why should you care

Who is this

Where are we

What happened

How was it solved

Conclusion

Why should you care

– Good way to utilise knowledge and techniques available in HLASM (or in BAL)

– z/LINUX is here and it is here to stay

– It is a z/Platform and understands POP-why not use it.

– Do I need to sell this? you are bigots anyway!

Using assembler on z/LINUX

Who is this – Martin Trübner– From Langen Germany – Since 1971 in EDP – „born and

raised“with MVT, then converted to DOS now colourful (most CICS)

– Email: [email protected]

Click to see the start

Using assembler on z/LINUX

Where are we– Produces PDFs on the

mainframe „XML2PDF“

All is in HLASM …BUT at– The blue spot is where X2PFG comes in – Creates templates for use with the product– Runs on CICS/TS (both op-sys) utilising WEB-

INTERFACE (and ENTREE)

Here is how it looks

flow of control (ex!)

Using assembler on z/LINUX

nothing to look at

One sample 1

3

2

4

• What happened– Prospect wanted XML2PDF for

LINUX (no problem because a real one=Z) and insisted in X2PFG available there too.

• lots of knowledge in a few HLASM subroutines

– I did look for a chance to do something in z/LINUX for very long

Using assembler on z/LINUX

How was it solved– Licensed DASM (for X-compiles)– Compiled HLASM subroutines

• remarks on next foil

– Wrote trivial „TEST“-drivers– For the X2PFG part:

New REXX code (as replacement for the COBOL-Mainline)

WINSCP, Problem with lnkedt (!), lots of tools for everything in LINUX

Using assembler on z/LINUX

Everything is dez (sometimes hex)

Cut and past (rubber band) is great

Linkage is DIFFERENT

Regs are used/saved different

Restrictions are heavy (and enforced)

Basics ---I used GCC+GDB

http://tachyonsoft.com/s8191db.pdf

REMARKS

Conclusion

• (HL)ASM is doable there to- it is not realy appreciated (C/C++)

• The way to preserve (HL)ASM programs

• It is different !

ASM on z/LINUX