MNUCMD

Menu-Driven Application uses MNUCMD files to bind a menu, a MNUDDS source file, selection to an action like to call a program.

Call

CALL statement implies dependency on the program named PROGRAM_ID in the project.

  • CALL PROGRAM_ID
  • CALL PGM(PROGRAM_ID)

Change Data

CHGDTA statement implies dependencies on source files named FILE2_ID and FILE_ID in the project.

  • CHGDTA DFUPGM(QALIB/FILE2_ID) FILE(QADATA/FILE_ID)

Clear Physical File Member

CLRPFM statement implies dependency on the source file named FILE_ID in the project.

  • CLRPFM FILE_ID

GO statement implies dependency on the source file named FILE_ID in the project.

  • GO MENU(FILE_ID)

Run Query

RUNQRY statement implies dependencies on source files named FILE2_ID and FILE_ID in the project.

  • RUNQRY QRY(QALIB/FILE_ID)
  • RUNQRY QRY(FILE_ID) QRYFILE(*CURLIB/FILE2_ID)

Submit Job

SBMJOB statement implies dependency on the source file named FILE_ID in the project.

  • SBMJOB CMD(CALL PGM(CIS400/FILE_ID))