home *** CD-ROM | disk | FTP | other *** search
- REM PC/370 demo program batch command file.
- REM This command file requires all PC/370 files on default drive.
- REM This command file also requires that LU.EXE be used to unload
- REM PC370.LBR file prior to execution. The command is LU -A PC370.
- A370 PET/LX
- COPY PET.PRN CON:
- A370 TIMER/LX
- COPY TIMER.PRN CON:
- A370 DAT/LX
- COPY DAT.PRN CON:
- REM The following command illustrates how a subroutine library is created.
- ERASE L370.LIB
- COPY PET.OBJ/B+TIMER.OBJ/B+DAT.OBJ/B L370.LIB/B
- ERASE PET.PRN
- ERASE PET.OBJ
- ERASE TIMER.PRN
- ERASE TIMER.OBJ
- ERASE DAT.PRN
- ERASE DAT.OBJ
- A370 DEMOPNUM/LX
- COPY DEMOPNUM.PRN CON:
- ERASE DEMOPNUM.PRN
- L370 DEMOPNUM/LX
- COPY DEMOPNUM.LST CON:
- ERASE DEMOPNUM.LST
- REM First sample execution of prime number generator program.
- DEMOPNUM
- ERASE DEMOPNUM.COM
- ERASE DEMOPNUM.OBJ
- A370 DEMOIO/LX
- COPY DEMOIO.PRN CON:
- ERASE DEMOIO.PRN
- REM This program illustrates sequential and random file access emthods.
- L370 DEMOIO/G
- ERASE DEMOIO.OBJ
- ERASE TESTF.DAT
- ERASE TESTV.DAT
- A370 DEMOSVC/LX
- COPY DEMOSVC.PRN CON:
- ERASE DEMOSVC.PRN
- REM To illustrate console I/O, enter characters and <cr> when requested.
- L370 DEMOSVC/G
- ERASE DEMOSVC.OBJ
- A370 DEMO8Q/LX
- COPY DEMO8Q.PRN CON:
- ERASE DEMO8Q.PRN
- REM This program uses recursive stack to solve 8 queens chess problem.
- L370 DEMO8Q/G
- ERASE DEMO8Q.OBJ
- A370 DEMOSRC/LX
- COPY DEMOSRC.PRN CON:
- ERASE DEMOSRC.PRN
- L370 DEMOSRC/LX
- COPY DEMOSRC.LST CON:
- ERASE DEMOSRC.LST
- REM This program reads all ALC files on diskette and counts records.
- DEMOSRC ????????.ALC
- ERASE DEMOSRC.COM
- ERASE DEMOSRC.OBJ
- A370 DEMOAST1/LX
- COPY DEMOAST1.PRN CON:
- L370 DEMOAST1/LX
- COPY DEMOAST1.LST CON:
- REM This program illustrates ASSIST log dump options.
- DEMOAST1
- COPY DEMOAST1.LOG CON:
- ERASE DEMOAST1.OBJ
- ERASE DEMOAST1.PRN
- ERASE DEMOAST1.LST
- ERASE DEMOAST1.LOG
- A370 DEMOAST2/LX
- COPY DEMOAST2.PRN CON:
- L370 DEMOAST2/LX
- COPY DEMOAST2.LST CON:
- REM This program illustrates ASSIST input and output file options.
- DEMOAST2
- COPY DEMOAST2.LOG CON:
- ERASE DEMOAST2.OBJ
- ERASE DEMOAST2.PRN
- ERASE DEMOAST2.LST
- ERASE DEMOAST2.LOG
- REM End of demo programs. Enjoy your PC/370 virtual machine!