Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 25
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: 757
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: 25
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 mapping PLI structure to assembler co... Pedro PL/I & Assembler 3 Fri Jun 01, 2018 2:53 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Code Coverage and static analysis too... Aditya.Srivastava PL/I & Assembler 2 Fri May 25, 2018 12:48 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us