Assembler programming



Ask about System customization & performance, Workload management, I/O device configuration etc.

Assembler programming

Postby thiagorr » Wed Nov 26, 2008 9:10 am

Hi!
I'm studing now the Assembler programming on z/os, but I must admit that I'm completely lost!
I have the following example code in JCL, and I don't know how make it work... or if it is really working!!!
//ADD JOB 1,NOTIFY=&SYSUID,MSGCLASS=H
//**************************************************
//* COMPILE ASSEMBLER PROGRAM
//**************************************************
//STEP1 EXEC HLASMCL
//C.SYSIN DD DSN=ZCON026.ASSEMB(ASM010),DISP=SHR
//L.SYSLMOD DD DSN=ZCON026.PART3.LOAD(ADD),DISP=SHR
// IF RC = 0 THEN
//STEP2 EXEC PGM=ADD
//STEPLIB DD DSN=ZCON026.PART3.LOAD,DISP=SHR
//PRTLINE DD SYSOUT=*
// ELSE
// ENDIF


The member ASM010 is the assembler source.
How I can compile this code above?
I've just tried de SUB command. It suppose to create the ADD member on the LOAD dataset, right?
thiagorr
 
Posts: 12
Joined: Wed Sep 10, 2008 11:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler programming

 

Re: Assembler programming

Postby thiagorr » Wed Nov 26, 2008 9:15 am

please disconsider this post!
It's on the wrong area!
Sorry!
thiagorr
 
Posts: 12
Joined: Wed Sep 10, 2008 11:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler programming

Postby dick scherrer » Wed Nov 26, 2008 9:36 am

Hello,

Looks like the right area to me :? Which area would you prefer?

or if it is really working
It either did something or generated some kind of diagnostic info.

Unless the job card is invalid, then you might only get a message from the submit and nothing would be in the queue.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post