About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Using XEDIT on NFS-mounted files
The XEDIT command allows you to change existing NFS files or create new ones.
Following are some examples which assume that the NFS-mounted file system is at /nfsdir.
- XEDIT /nfsdir/data.txt (nametype bfs bfsline crlf
This tells XEDIT that you want to edit the file, and that carriage return and line feed characters (X'0D25') mark the end of each line. In this case, the file is treated like a CMS VARIABLE file.
- XEDIT /nfsdir/data.txt (nam bfs bfsline 80
This tells XEDIT that you want to edit the file, and that the bytes in the file are to be broken up into 'records' of 80 bytes each. In this case, the file is treated like a CMS FIXED file.
BFSLINE NL (newline, X'15') is the default.
Once in the XEDIT session, all the usual subcommands such as the xedit, save, file, put, and get work as you would expect, except that you specify BFS-type path names instead of FN FT FM. If you do wish to use minidisk or SFS files within the XEDIT session, use the SET NAMETYPE CMS command to allow the use of CMS-style names.
See the XEDIT Command and Macro Reference for more information about XEDIT options and subcommands.