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 Sr SW Eng-Rocket Software (Assembler,... Kenneth Barton Lasky Mainframe Jobs 0 Fri Aug 25, 2017 12:29 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am

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