Sign in

docs RPG Reference

/RESTORE

/RESTORE

Use the compiler directive /RESTORE to restore values previously set by /SET directives in the same source member.

CCSID(*CHAR) : Undoes the effect of the previous /SET directive containing the CCSID(*CHAR) keyword.

CCSID(*GRAPH) : Undoes the effect of the previous /SET directive containing the CCSID(*GRAPH) keyword.

CCSID(*UCS2) : Undoes the effect of the previous /SET directive containing the CCSID(*UCS2) keyword.

DATFMT : Undoes the effect of the previous /SET directive containing the DATFMT keyword.

TIMFMT : Undoes the effect of the previous /SET directive containing the TIMFMT keyword.

Note: Any values set by /SET directives within a copy file are implicitly restored to their values prior to the /COPY or /INCLUDE directive.

See /SET for information about the rules for /SET and /RESTORE, and examples.