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: Sep 5, 2010  6:51 PM GMT
UPDATED: September 7, 2010  11:03:49 PM GMT
36,420 pts.
  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 Philpl1jb   36,420 pts.

 
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:  Sep 6, 2010  7:46 AM (GMT)  by  TomLiotta   66,955 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




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

 36,420 pts.

 

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.

 4,945 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

 36,420 pts.