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

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: 5  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
    49,610 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,905 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
    49,610 pointsBadges:
    report
  • Yorkshireman
    What do you want to happen?  

    If you are involved in solving a problem, and you want a dump, then its a deep issue.  

    If you are asking from a desire for knowledge, then any of the programming manuals will tell you about system dumps, and the RPG manual relating to the version of the compiler and your OS level will explain the syntax of the compiler command to go into the program source, and the operatio of the DUMP command, to be executed.  

    a core dump used to take a box of paper, and was 95% immaterial to the problem, modern compilers and error handling, and program disciplines, make them pretty obsolete for most problems. 


    5,580 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