What will happen in AS/400 if I use H dump?

60 pts.
Tags:
AS/400
AS/400 Dumps
RPGILE
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • philpl1jb
    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
    48,545 pointsBadges:
    report
  • chakramdhar
    hi Phil, i think you have got me exact one... so please can you give me the right answer......
    60 pointsBadges:
    report
  • Splat
    Chakramdhar, debug is a compiler directive, dump is an operation code.
    6,255 pointsBadges:
    report
  • philpl1jb
    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
    48,545 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following