1.

What Is Compiler Directive In As400? Give Example Of Compiler Directive.?

Answer»

Compiler directive : Compiler directive is an instruction (directive) given to the compiler, to perform some SPECIFIC task during compilation or to GENERATE customize compiler listing report after compilation.
Compiler directive serve many purposes like it is used to control the heading information in compiler listing, to control the spacing of the compiler listing, to include source statement from other source member, to do a free form calculation in our rpgle program, to control the source records selection/omission based on some condition etc.
Compiler directives are:

  1. /FREE... /END-FREE
  2. /TITLE
  3. /EJECT
  4. /SPACE
  5. /COPY or /INCLUDE
  6. /IF……/ELSEIF…. /ELSE…… /ENDIF
  7. /EOF

Compiler directive : Compiler directive is an instruction (directive) given to the compiler, to perform some specific task during compilation or to generate customize compiler listing report after compilation.
Compiler directive serve many purposes like it is used to control the heading information in compiler listing, to control the spacing of the compiler listing, to include source statement from other source member, to do a free form calculation in our rpgle program, to control the source records selection/omission based on some condition etc.
Compiler directives are:



Discussion

No Comment Found