Call another REXX program (OS/2 v2.1)

[Autolink] Menu

 
/* code sequence to call a program from within a REXX program if      */
/* the first part of the path of the program is stored in a           */
/* variable (only necessary if you are using OS/2 2.1)                */

                                /* create an environment variable     */
  dummy=value( "drive", "C:", "OS2ENVIRONMENT" )

  "%drive%\os2\attrib *.*"
                                /* delete the environment variable    */
  dummy=value( "drive", "", "OS2ENVIRONMENT" )


[Back: Leave an outer loop from an inner loop]
[Next: Call another CMD]