Data File Editor can be launched from a Visual COBOL command line prompt to open local files or catalogued files from an enterprise server region.
mfdatatools2 [file-type][path][filename][option...]
mfdatatools2 /dsn [data set name] [options...]
Parameter | Usage | Description |
---|---|---|
/dsn [data set name] | Required | Specifies the catalogued data set to be opened. |
/host [host name] | Optional | Host name of the machine running Enterprise Server. The default value is localhost. |
/port [port] | Optional | Port of the target region's Web Services and J2EE listener. The default value is 9003. |
/user [user ID] | Optional | User ID for enterprise server region authentication. |
/pwd [password] | Conditional | Password for
enterprise server region authentication. Required if the /user parameter was specified.
Can either contain the password in clear text or an identifier to obtain the password from the mfsecrets vault. To obtain
the password from the vault use:
mfsecret:vault_name:/secret_path To use the default vault, use:
mfsecret:/secret_path The password must be stored in the vault beforehand, for example by using the mfsecretsadmin utility. For more information, see Restricting Access to the Vault Facility. |
/group [user group] | Optional | User group for enterprise server region authentication. |
/fs [Fileshare name] | Optional | Name of the Fileshare server to use. |
/tls | Optional | Enable TLS protocols to open the data set. |
mfdatatools2 /dsn MFI01V.MFIDEMO.BNKACC /host rhel-es01 /port 9006 /fs FS01 /user psmith /pwd mfsecret:/mySecrets/esPassword /tls
This opens the data set MFI01V.MFIDEMO.BNKACC from the enterprise sercver region with port 9006 (TLS-enabled) on host rhel-es01 using the Fileshare server FS01 and user ID psmith. The user password is obtained from the Micro Focus Secrets Vault under the path /mySecrets/esPassword.