Mainframe Utility: $FE

Return to Mainframe Utilities Page

Module


PROC 1 DATA_SET_NAME_OR_GO
/*********************************************************************/
/*       COMPUWARE CORPORATION   FARMINGTON HILLS, MICHIGAN          */
/*            F2 - INVOKE FILE-AID EDIT (F.2) DIRECTLY               */
/*********************************************************************/
CONTROL MSG
SET &FUNCVAR = &STR(2)
SET &DSNVAR  = &STR(&DATA_SET_NAME_OR_GO)
IF &SUBSTR(1:1,&DSNVAR) = &STR(') -
  THEN SET &QUOTE = &STR(QUOTE)
  ELSE SET &QUOTE = &STR()
/*********************************************************************/
/* PASS PARMS TO FADYNALC TO SET LIBS AND INVOKE FILE-AID            */
/*********************************************************************/
ISPEXEC SELECT -
      CMD(%FADYNALC &FUNCVAR DSN(&DSNVAR) &QUOTE) NEWAPPL(FAXX)
END
            


Documentation


 When you place $FE in front of a dataset name on the ISPF DSLIST screen (a.k.a.
 ISPF option 3.4) and press , you will be taken directly into File-Aid
 Edit and the dataset name will already be "pre-populated" in the
 "Dataset Name ===>" field.  See "$F" for more information.
            


Leave a Reply

Your email address will not be published. Required fields are marked *