HPlogo MPE/iX Quick Reference Guide: HP 3000 MPE/iX Computer Systems > Chapter 7 File System

System Defined Files

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

MPE/iX reserves certain file designators for system defined files. System defined files are reserved words that refer to a specific type of system file.

$STDIN

refers to the device that you used to initiate your current session or job. The device is normally a terminal for a session and spoolfile for a job. Data entries in this file should not have a colon in column 1. (A colon in column 1 indicates the end-of-data). Use the :EOD command to delimit data.

$STDINX

is the same as $STDIN, except that a colon in the first column does not indicate the end of data. Thus $STDINX may contain commands as well as data. Interactive programs and subsystems often use $STDINX to reference the terminal as an input file. Use :EOD or :EOF to indicate the end of data.

$STDLIST

is the device designated as the session or job output device, the device MPE uses to respond to your commands. This device is normally a terminal for sessions and line printer for jobs.

$NULL

is a file designator that is used to tell MPE to read from or write to a non-existent file as though the input-output operation were successful. This file is usually used to discard output.

$NEWPASS

is a temporary disk file. MPE uses $NEWPASS to store information during the execution of a program. When a program closes $NEWPASS, the system automatically changes its name to $OLDPASS.

$OLDPASS

is a temporary disk file containing the contents of the last $NEWPASS file closed. When a $NEWPASS file is renamed $OLDPASS, the system deletes the previous version of $OLDPASS.

You can use $NEWPASS and $OLDPASS when compiling and preparing a program. MPE compilers write object code to $NEWPASS during compilation. When compilation is complete, the compiler closes $NEWPASS and the system renames the object code (USL) file $OLDPASS. When you prepare the USL file ($OLDPASS), the system stores prepared (executable) code in the $NEWPASS file. When preparation is complete, the system closes $NEWPASS and renames the executable code file $OLDPASS. Use the SAVE command to save the program stored in $OLDPASS to a permanent file.

Table 7-1 FFILEINFO File codes

IntegerMnemonicDescription 
0 Default (unreserved) 
1024USLUser subprogram library 
1025BASDBasic data 
1026BASPBasic program 
1027BASFPBasic fast program 
1028RLCompatibility mode relocatable library 
1029PROGCompatibility mode program file 
1030NMPRGNative mode program file 
1031SLSegmented library 
1032NMSLNative mode executable library 
1033NMRLNative mode relocatable library 
1035VFORMVPLUS forms file 
1036VFASTVPLUS fast forms file 
1037VREFVPLUS reformat file 
1040XLSAVCross loader ASCII file (SAVE) 
1041XLBINCross loader relocated binary file 
1042XLDSPCross loader ASCII file (DISPLAY) 
1050EDITQEdit quick file 
1051EDTCQEdit KEEPQ file (COBOL) 
1052EDTCTEdit TEXT file (COBOL) 
1054TDPDTTDP diary file 
1055TDPQMTDP proof marked QMARKED 
1056TDPPTDP proof marked non-COBOL file 
1057TDPCPTDP proof marked COBOL file 
1058TDPQTDP work file 
1059TDPXQTDP work file (COBOL) 
1060RJEPNRJE punch file 
1070QPROCQUERY procedure file 
1080KSAMKKSAM key file 
1083GRAPHGRAPH specification file 
1084SDSelf-describing file 
1090LOGUser logging log file 
1100WDOCHPWORD document 
1101WDICTHPWORD hyphenation dictionary 
1102WCONFHPWORD configuration file 
1103W2601HPWORD attended printer environment 
1110PCELLIFS 3000/XL character cell file 
1111PFORMIFS 3000/XL form file 
1112PENVIFS 3000/XL environment file 
1113PCCMPIFS 3000/XL compiled character cell file 
1114RASTRGraphics image in RASTR format 
1130OPTLFOPT/3000 log file 
1131TEPESTEPE/3000 script file 
1132TEPELTEPE/3000 log file 
1133SAMPLAPS/3000 log file 
1139MPEDLMPEDCP/DRP log file 
1140TSRHPToolset root file 
1141TSDHPToolset data file 
1145DRAWDrawing file for HPDRAW 
1146FIGFigure file for HPDRAW 
1147FONTReserved 
1148COLORReserved 
1149D48Reserved 
1152SLATECompressed SLATE file 
1153SLATWExpanded SLATE work file 
1156DSTORRAPID/3000 DICTDBU utility store file 
1157TCODECode file for Transact/XL compiler 
1158RCODECode file for Report/3000 compiler 
1159ICODECode file for Inform/3000 compiler 
1166MDISTHPDesk distribution list 
1167MTEXTHPDesk text 
1168MARPAARPA messages file 
1169MARPDARPA distribution list 
1170MCMNDHPDesk abbreviated commands file 
1171MFRTMHPDesk diary free time list 
1172NoneReserved 
1173MEFTHPDesk external file transfer messages file 
1174MCRPTHPDesk encrypted item 
1175MSERLHPDesk serialized (composite) item 
1176VCSFReserved 
1177TTYPETerminal type file 
1178TVFCTerminal vertical format control file 
1192NCONFNetwork configuration file 
1193NTRACNetwork trace file 
1194NLOGNetwork log file 
1195MIDASReserved 
1211ANODEReserved 
1212INODEReserved 
1213INVRTReserved 
1214EXCEPReserved 
1215TAXONReserved 
1216QUERFReserved 
1217DOCDRReserved 
1226VCVC file 
1227DIFDIF file 
1228LANGDLanguage definition file 
1229CHARDCharacter set definition file 
1230MGCATFormatted application file 
1236BMAPBase map specification file 
1242BDATABASIC data file 
1243BFORMBASIC field order file for VPLUS 
1244BSAVEBASIC saved program file 
1245BCNFGConfiguration file for default option BASIC program 
1258PFSTAPathflow static file 
1259PFDYNPathflow dynamic file 
1270RFDCARevisable form DCA data stream 
1271FFDCAFinal form DCA data stream 
1272DIUDocument interchange unit file 
1273PDOCHPWORD/150 document 
1401CWPTXReserved 
1421MAPHPMAP/3000 map specification file 
1422GALReserved 
1425TTXReserved 
1461NMOBJNative mode object file 
1462PASLBPascal/iX source library 

 

Table 7-2 Carriage Control Directives

Octal Code (ASCII)Description of Carriage Action
%2 - %37 (" ")Single space (with or without automatic page eject)
%40 - %52 (" ")Single space (with or without automatic page eject)
%53 ("+")No space, return (next printing at column 1), cannot be used more than once on the HP 2608A/S without losing data
%54 (" ")Single space (with or without automatic page eject)
%55 ("-")Triple space (with or without automatic page eject)
%56 - %57 (" ")Single space (with or without automatic page eject)
%60 ("0")Double space (with or without automatic page eject)
%61 ("1 ")

Conditional page eject (form feed) performed by the software; if the printer is not at top-of-form, a page eject is performed. Ignored if:

Postspace mode

The current request has a transfer count of 0 and the previous request was FOPEN, HPFOPEN, FCLOSE, or FWRITE specifying a carriage-control directive of %61.

Prespace mode

Both the current request and the previous request have transfer counts of 0, and the current request and previous request are any combination of FOPEN, HPFOPEN, FCLOSE, or FWRITE specifying a carriage-control of %61.

%62Skip to one line before top of form (valid for HP 2608S and 2563A printers only)
%63A conditional page eject form feed is performed by the printer; not at top-of-form, a page eject is performed (valid for HP 2608S and 2563A printers only)
%62 - %77 (" ")Single space (with or without automatic page eject; for terminals)
%104 - %177 (" ")Single space (with or without automatic page eject; for terminals)
%2nnSpace nn lines (no automatic page eject); nn is any octal number from 0 through 77
%300 - %313Select VFC Channel 1 - 12 (HP 2613, 2617, 2618, 2619)
%300 - %317Select VFC Channel 1 - 16 (HP 2608A/S)
%300Skip to top of form (page eject)
%301Skip to bottom of form
%302Single spacing with automatic page eject
%303Skip to next odd line with automatic page eject
%304Skip to next third line with automatic page eject
%305Skip to next 1/2 page
%306Skip to next 1/4 page
%307Skip to next 1/6 page
%310Skip to bottom of form
%311User option (HP 2613/17/18/19), skip to one line before bottom of form (HP 2608A/S)
%312User option (HP 2613/17/18/19), skip to one line before top of form (HP 2608A/S)
%313User option (HP 2613/17/18/19), skip to top of form (HP 2608A)
%314Skip to next seventh line with automatic page eject
%315Skip to next sixth line with automatic page eject
%316Skip to next fifth line with automatic page eject
%317Skip to next fourth line with automatic page eject
%310 - %317(HP 2607)
%314 - %317(HP 2613/17/18/19)
%320No space, no return (next printing physically follows this)
%321-%377 (" ")Single space (with or without automatic page eject)
%400 or %100Sets postspace movement option (prints first, then spaces). If previous option was prespace movement, the driver outputs a line with a skip to VFC Channel 3 (automatic page eject in effect) or a one line advance (equivalent to an octal code of %201 without automatic page eject) to clear the buffer
%401 or %101Sets prespace movement option (spaces first, then prints)
%402 or %102Sets single-space option, with automatic page eject (60 lines per page)
%403 or %103Sets single-space option, without automatic page eject (66 lines per page)

 

NOTE: If octal codes %55 and %60 are selected with automatic page eject in effect (by default or following an octal code of %102 or %402), the resulting skip is to a location absolute to the page. A code of %60 is replaced by %303, and a code of %55 is replaced by %304. Therefore, the resulting skip can be less than two or three lines, respectively.

If automatic page eject is not in effect, a true double or triple space results, but the perforation between pages is not automatically skipped. For the HP 2608S and 2563A, if auto-eject and feature mode are in effect, a code of %60 is replaced by two codes of %302, and a code of %55 is replaced by three codes of %302. The resulting skip is double or triple space with auto-eject, respectively.

Feedback to webmaster