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: 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: 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: 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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts ROSCOE RPF execution via JCL balimanja CA Products 2 Tue Nov 07, 2017 2:13 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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