.FixedLengthRecord file.
-EndOfLineID(LF/NL) is not usualy used on mainframe world.
Line is split by record length associated to each file.
This option is used to edit the file downloaded from mainframe host.
-E filename /M[m|p|u|t|R][m|p|u|e|R] /Fn[-m]
R:record mode(1st "R" is read option, 2nd "R" is write option)
p:EOL-ID=0x0d0a, u:EOL-ID=0x0a, m:EOL-ID=0x0d
e:EOL-ID=EBCDIC-NL(0x15)
Fn[-m]:Record length and margin.
ex). F80-72. record length:80, Col.73-80 is righ margin
ex). "e file1 /Mr /F80-72 P0"
-Record mode read each lines by fixed length specified on Fn[-m] option, write no EOL-ID.
Record mode option and record length parameter is registered to profile.
To write EOLID to each lines open the file with /Mr[p|u|m] option.
To remove EOLID from non-record mode file open the file with /M[p|u|m]r
and after saved re-open it with /Mr Fxx.
To reset record mode register on profile, specify /M option.
/F0 option will also reset is.
-Change of record size.
EDIt cmd with new /F option will override lrecl on profile.
You can change it at REPlace/CREate/SAVe/END cmd.
REPlace/CREate/SAVe/END [filename] [/M[p|u|m|e|r]] [/Fn[-m]]
You have to adjust line length to below the new record length
by SPLit cmd before the output cmd.
/M option changes record mode<-->Linefeed by EOLID mode
/F option changes record size.
(For SAVe cmd, this is effective only when filename parameter is specified.
Without filename parameter, you can change record mode by /M option of EDIt cmd.
Record size will not be changed).
ex.1) cre file1 cpeb /mr /f80
create EBCDIC 80 byte record mode file from usual PC text file.
ex.2) s file2 cplc /mp
reverse operation of ex.1)
-/M write option is effective for REP cmd for the file if no /M, /F option specified.
For ex, "rep file2 cplc" for the file opened by "e file1 cpeb /mr f80",
short record is expnded to the LRECL, record mode and LREC are registered to file2's profile record.
If file1 is opened by "e file1 cpeb /mrp", EOLid is appended to all lines.
-Record mode is assumed for EBCDIC file opened by E8 cmd.
-Inserting character into the line could not expand the line over the record length.
-TAB counter is forced to 1 at open.
For file opened with /Fxx only(lines have EndOfLine char), TAB is relaced to a spce at save.
For file opened with /Mr and /Fxx(lines have no EOL), TAB is notrelaced to spce at save.
TC|NOTC option is used to change default action.
-Display width of UTF8 encoded Record mode files is not fixed to the record length.
Record length is of UTF8 code. Display width is shorter than record length
when record contains non-ASCII char, and you can expand the line up to
displayWidth==recordLength. At save the line is split by UTF8Length==recordLength.
(FixedLength text file(line is split by EndOfLine char) is not split even if overflow occured.)