Qedit and Reflection File Transfers
Reflection file transfers work at the MPE level or within Qedit, without any change to Reflection’s Host Startup Sequence. Reflection, versions 2.2 and later, has the ability to read Qedit’s special files and download them to your PC as ordinary flat files. You don’t need to do a Keep before a file transfer.
If you transfer a PC file to your 3000 and try to Open it in Qedit, you get an error message.
Error: you can only Open Qedit workfiles (code=111)
Open is Qedit’s command for getting into a file quickly. You can only Open files that are in Qedit format. To edit any other file type, you must Text it instead (Text is slower then Open). Qedit users are accustomed to instant access to the files they need. Reflection 2.2 and later can upload to Qedit files as well as download them. You simply append “;Q” to the host file name on the file-transfer screen or in your Send command line. Reflection does the rest.
When you work in Qedit, you are working on files that have a language (Set Lang FORTRAN, Pascal, COBOL, SPL, Job, or Text) and a record length (Set Length). If you copy a Qedit file to your PC and then back again to the HP e3000, Reflection 2.2 returns a file with the same Qedit attributes by writing a label to the PC file that describes the Qedit file:
RECSIZE=80; LANGUAGE=3
When Reflection transfers a file to the HP e3000 with the ;Q option, it uses the label in the PC file to create a proper Qedit file. Thus, you can send a COBOL file from Qedit to your PC and return it to Qedit later and still have it recognized as COBOL. Here is the complete list of Language codes for Qedit files:
1 | SPL (72-byte records) |
2 | FORTRAN (72-byte records) |
3 | COBOL without comments (66-byte records) |
4 | RPG (80-byte records) |
5 | Job (80-byte records, Keep UNN) |
6 | Text (Set Length sets record size up to 256 bytes) |
7 | Pascal (72-byte records) |
8 | COBOLX with comments (74-byte records) |
9 | Data (Set Length sets record size up to 8,172 bytes) |
Qedit files are downloaded without sequence numbers, since PC tools seldom use sequence numbers. When a PC file is uploaded into Qedit, new sequence numbers are assigned to the lines. If you download a Qedit file containing PC data, such as a Reflection command file or an Assembler program, you don’t want a label at the start. Use Set Lang JOB for such files, since a JOB file has 80-byte records without sequence numbers. When you download a Qedit “job” file, Reflection does NOT add a label to it, since “job” is the default format when uploading to Qedit format.