how to execute asm pgm

Ask/Clarify the questions on ASSEMBLER language.

Moderator: Moderator Group

Post Reply
shiemala
Member
Posts: 1
Joined: Fri Apr 06, 2007 2:45 pm
Location: trivandrum

how to execute asm pgm

Post by shiemala » Mon Apr 09, 2007 10:06 am

how to execute a program written in assembler language in mainframe....

User avatar
DavidatK
Active Member
Posts: 65
Joined: Tue Mar 27, 2007 8:41 am
Location: Troy, MI USA

Post by DavidatK » Thu Apr 12, 2007 12:06 am

shiemala wrote:how to execute a program written in assembler language in mainframe....
shiemala,

I?m not sure I understand your question. If the assembler program has been assembled and link edited and you have an executable load module, it?s run like any other program. The language it?s written in doesn?t matter.

Please come back with comments

Dave

vikram G
Member
Posts: 2
Joined: Thu Sep 16, 2010 11:40 am

Post by vikram G » Thu Sep 16, 2010 12:41 pm

hi executing a asembler program is similar like executing a program in cobol.

//D321180J JOB (TRG-TRG-D321180-XXX-999),CLASS=C,NOTIFY=D321180
//* MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=D321180
//**************************************************************
//* CHANGES TO BE MADE :
//* C.SYSIN ====> SOURCE DATASET WITH MEMBER NAME
//* L.SYSLMOD ====> LOAD MODULE WITH MEMBER NAME
//**************************************************************
// JCLLIB ORDER=SYS1T.USER.PROCLIB
//ASM1 EXEC ASMACL,
// PARM.C='OBJECT,NODECK',
// PARM.L='LIST,LET,XREF,MAP,TEST'
//C.SYSIN DD DSN=D321180.AIG.VIKRAM(DROPBASE),DISP=SHR
//L.SYSLMOD DD DSN=D321180.AIG.LOADLIB1(DROPBASE),DISP=SHR
//SYSPRINT DD SYSOUT=* 1
//SYSOUT DD SYSOUT=*
/*



this is the sample compile program for assembler.. please let me know still u have any doubts

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Sep 16, 2010 1:27 pm

vikram G,

not only is this a 3 year old thread,
you have provided as an answer a Procedure,
which the TS (Topic Starter) may not have at his site.

also, compile JCL is/should be site specific and obtained from the Site
and not a webpage.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others