Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Producing DUMP in Assembler Program during normal execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
ganasrinivasan

New User


Joined: 06 Nov 2006
Posts: 23
Location: Montreal

PostPosted: Thu Dec 28, 2006 11:48 am    Post subject: Producing DUMP in Assembler Program during normal execution
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: 755
Location: Germany

PostPosted: Thu Dec 28, 2006 1:47 pm    Post subject: Re: Producing DUMP in Assembler Program during normal execut
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: 23
Location: Montreal

PostPosted: Thu Dec 28, 2006 2:25 pm    Post subject: Re: Producing DUMP in Assembler Program during normal execut
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us