Table 6-4. Output Set

 

 

File Designator

Function or Meaning

 

 

$STDLIST

Job/session list device.

$OLDPASS

Last ￿le passed.

$NEWPASS

New temporary ￿le to be passed.

$NULL

Constantly empty ￿le that returns end-of-￿le indication when read.

*formal- designator

Back reference to a previously de￿ned ￿le.

￿lereference

File name (including an y account and group names and loc kword, if

 

necessary). Unless y ou specify otherwise, it is a temporary ￿le residing

 

on disc that is destroyed on termination of the creating program. If

 

closed as a job/session temporary ￿le, it is purged at the end of the

 

job/session. If closed as a permanen t ￿le, it is saved until you purge it.

 

 

 

 

Passed Files

Programmers, particularly those writing compilers or other subsystems, sometimes create a temporary disc ￿le that can be automatically passed to succeeding MPE/iX commands within a job or session. This ￿le is alwa ys created under the special name $NEWPASS .

When the program closes the ￿le, MPE/iX automatically c hanges its name to $OLDPASS and deletes any other ￿le named $OLDPASS from the job or session temporary ￿le domain. (Domains are described in a subsection belo w). After the ￿le is closed, y our commands and programs reference the ￿le as $OLDPASS . Only one ￿le named $NEWPASS and one ￿le named $OLDPASS can exist in the job or session domain at an y one time. Figure 6-8 sho ws the automatic passing of ￿les bet ween program runs. For an example of ￿le passing and detailed information, refer to Accessing Files Programmer's Guide (32650-90017).

Figure 6-8. Passing Files between Program Runs

File System 6-15