# FMGEN Console Command: Open File Maintenance Generator

> Source: https://manual.pvxplus.com/commands/fmgen

## Format

**FMGEN** *fm_name$,library_file$*

***Where:***

|  |  |
| --- | --- |
| *fm_name$* | Name of the file maintenance object. |
| *library_file$* | Name of the library file. If the location of the library file is ***different*** from the current directory, enter the ***full pathname*** of the library file. |

The *fm_name$* and *library_file$* must be separated by either a ***comma*** or a ***semi-colon***.

## Description

The **FMGEN** command can be used to invoke the **[NOMADS Session Manager](https://manual.pvxplus.com/nomads-graphical-application/nomads-development/getting-started#sessionmgr)** for opening a file maintenance panel in the NOMADS **[File Maintenance Generator](https://manual.pvxplus.com/nomads-graphical-application/dictionary-based-development/fmgen/fmgen-introduction)** if *fm_name$* exists.

If *fm_name$* does not exist, the File Maintenance Generator will launch, treating this as a new file maintenance panel definition.

*(The FMGEN command was added in PxPlus 2025.)*

## Example:

FMGEN clients;scrnlib.en

FMGEN depts,c:\\work\\data\\scrnlib.en
