60 pts.
 What will happen in AS/400 if I use H dump?
H  DUMP 
   what will happen to the program


Software/Hardware used:
as 400
ASKED: September 5, 2010  6:51 PM
UPDATED: September 7, 2010  11:03 PM
  Help
 Approved Answer - Chosen by chakramdhar (Question Asker)

You may want to enter the H spec as
H Debug(*yes)

and put a DUMP in the C specs or /Free section where you want to get a dump to occur.
Phil

ANSWERED:  Sep 7, 2010  0:43 AM (GMT)  by chakramdhar

 
Other Answers:

Probably nothing. If you make that change in SEU, for example, the editor will flag it as an error since “DUMP” is not a valid H-spec keyword in OPM nor ILE RPG. If you make the change through some simple text editor, the RPG compiler will throw the H-spec away and generally stop the compilation.

Tom

Last Wiki Answer Submitted:  September 6, 2010  7:46 am  by  TomLiotta   107,995 pts.
Latest Answer Wiki Contributors:  TomLiotta   107,995 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

hi Phil,

i think you have got me exact one… so please can you give me the right answer……

 60 pts.

 

Chakramdhar, debug is a compiler directive, dump is an operation code.

 5,670 pts.

 

Compile it with the H Spec and one or more dumps in the C specs
When you run the program, whenever it hits the DUMP it will spool a formatted dump.
Be careful, if you put it in a loop it will print a DUMP for each time around.

Phil

 44,150 pts.