IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Producing DUMP in Assembler Program during normal execution


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ganasrinivasan

New User


Joined: 06 Nov 2006
Posts: 27
Location: Montreal

PostPosted: Thu Dec 28, 2006 11:48 am
Reply with quote

Is it possible to produce dump(sysudump) under normal termination with out inserting ABEND macro??
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Thu Dec 28, 2006 1:47 pm
Reply with quote

Hi !

Yes, it's possible. You could take a so called SNAP Dump. Therfore first you have to code a special DCB in the programm.

Programm:
SNDCB DCB DSORG=PS,RECFM=VBA,BLKSIZE=882,
MACRF=(W),LRECL=125,DDNAME=SNDUMP

Then in the programm at the point of your desire, you can take a storage, register, field or whatever dump via snap macro.

mvc
mvc
SNAP DCB=SNDCB,STORAGE=(FIELD_A1,FIELD_A9)
mvc
mvc

Complete SNAP command:

SNAP DCB=SnapDcbName
ID=IdNumer
PDATA=(Field,Field...)
STORAGE=(Beginn,End)
LIST=Adress

Please look at Ass-Bookmanager for further details.

Regards & happy new year
UmeySan
Back to top
View user's profile Send private message
ganasrinivasan

New User


Joined: 06 Nov 2006
Posts: 27
Location: Montreal

PostPosted: Thu Dec 28, 2006 2:25 pm
Reply with quote

Hi UmeySan,
Thank you very much. I am just trying to create a debugger. This will be of great use.
I am trying to produce a dump without altering the source program.
Thanks... icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top