disassembly cobol program - $HASP165

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
massther
Member
Posts: 5
Joined: Fri Nov 19, 2010 3:23 pm

disassembly cobol program - $HASP165

Post by massther » Tue Nov 23, 2010 4:06 pm

I want to disassembly cobol program placed in XYZ1.COBOLLIB, compiled program is in member PROG1. I have JCL to do this.

Code: Select all

//XYZ1DASM JOB HA,NOTIFY=&SYSUID                     
//** LIB, SRSK                                       
//** DEZASEMBLACJA PROGRAMU                          
//DISASM   EXEC PGM=ASMDASM,PARM='COPYRIGHTOK'       
//STEPLIB  DD DSN=ASM.SASMMOD2,DISP=SHR              
//SYSLIB   DD DSN=XYZ1.COBOLLIB,DISP=SHR             
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=121               
//*COPYLIB DD DSN=XYZ1.COBOLLIB(PROG1),DISP=SHR      
//SYSPUNCH DD SYSOUT=*                               
//SYSIN DD *                                         
 PROG1 PROG1                                         
/*                                                   
//                                                   
After submit this job I got:
JOB47691 $HASP165 XYZ1DASM ENDED AT NBRUV MAXCC=8 CN(INTERNAL)
but I don't understand why?

If you need data from JESMSGLG, JESJCL, JESYSMSG orSYSPRINT please let me known.

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