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?
Assembler programming
-
- Posts: 12
- Joined: Wed Sep 10, 2008 11:23 pm
- Skillset: IBM Mainframe Contest
- Referer: IBM Mainframe Contest
Re: Assembler programming
please disconsider this post!
It's on the wrong area!
Sorry!
It's on the wrong area!
Sorry!
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: Assembler programming
Hello,
Looks like the right area to me
Which area would you prefer?
Unless the job card is invalid, then you might only get a message from the submit and nothing would be in the queue.
Looks like the right area to me

It either did something or generated some kind of diagnostic info.or if it is really working
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.
d.sch.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Assembler program accessing IMS DB Database
by gschhatwal1176 » Sat Aug 08, 2020 12:34 pm » in Assembler - 5
- 8948
-
by NicC
View the latest post
Sun Aug 09, 2020 2:53 am
-
-
-
how to decompress DB2 SMF records in assembler program
by chaat » Fri Feb 19, 2021 9:53 am » in Assembler - 3
- 3474
-
by willy jensen
View the latest post
Sun Feb 21, 2021 4:26 pm
-