Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.56 EXEC_OS400

Note
Note: Usage options

The EXEC_OS400 command is used to execute an IBM i operating system command from within an RDML or RDMLX program. Optionally fields from the function can be specified within the command and will be substituted with their values at execution time.

Portability Considerations

This command is only supported in RDMLX programs for compatibility with existing RDML code. As such, it only supports the substitution of RDML field values at execution time.

Use the SYSTEM_COMMAND Built-In Function as a better alternative for RDMLX programs.

...

7.56.3 EXEC_OS400 Example


Panel
bgColor#ffffcc

                                                                                                Required

No Format
                                                        Required

  EXEC_OS400   -----

COMMAND

 COMMAND ------

 'AS/

400 command

400 command'

 ---------->

 

 ---------------------------------------------------------------------

                                                         Optional                >-- IF_ERROR

---

                                                                                              Optional

                         >-- IF_ERROR --------

*ABORT   ---------------------|

                                  *NEXT                                   *RETURN                                   label


                                                            *NEXT
                                                           *RETURN
                                                            label