Create PROCs

A PROC is created using EDITORS. It is stored as an item within a file. The following process explains how a PROC is created using the EDITORS:

  1. Create an entry in the MD with the same name of the PROC. This is in fact a transfer PROC to the actual PROC and allows the transfer one to run from TCL by typing in the name.

  2. Create a entry in the file to store the actual PROC and enter the PROC statements within it. The item-id is usually the same as the item-id in MD.

You always use either the SE or the MD editors to create a PROC file. In MD, it is created using SE MD command while in PROCFILE, it uses SE PROCFILE command. You must follow the standard to avoid the PROC creating failure. They are used both to create and edit.