The following files are available via anonymous FTP from FTP.HHS.DK: [.PASCAL_PPL]PASCAL_PPL.ZIP Description : easy to use PASCAL-interface to PPL$-routines The package includes: - PAR.MAR and MULTI.PAS which define and implements the interface - EX.* which shows how to use it - EXBIG*.* which shows how to use it with benefit (including timing results) Source : PASCAL and MACRO Binary : not available Notes : multiprocessor VAX necesarry to benefit (VAX only) Posted : INFO-VAX january 1993 [.SYMBIONT]SYMBIONT.ZIP Description : two symbionts The NULL symbiont does absolutely nothing. It can be used for making a blackhole queue (f.ex. if you want SYS$PRINT to point to an existing queue, but you do not want to see any print). The SERVER symbiont tests, if the files "language-type" matches that of the real queue, and creates a new printjob on the real queue with the same files. This can be very smart in an environment with both postscript and non-postscript printers, because postscript output on a non-postscript printer is a waste of paper. Theese functions is controlled via some logicals. Source : PASCAL and MACRO Binary : OBJ's in SYMBIONT_OBJ.ZIP (compiled with PASCAL 5.0 on VAX) EXE's in SYMBIONT_EXE.ZIP (linked on VMS VAX 5.5-2) Notes : privs necesarry to initialize queue with symbiont (VAX only) Posted : INFO-VAX december 1991 [.MIRROR]MIRROR.ZIP Description : example of humor (try @DEMO) Source : PASCAL and FORTRAN Binary : not available Notes : (VAX only) Posted : INFO-VAX december 1990 [.PROF]PROF.ZIP Description : primitive profiler (also an example of how to read GST and DST) Source : FORTRAN and MACRO Binary : OBJ's + EXE's in PROF_BIN.ZIP (compiled with FORTRAN 6.1 on VAX and linked on VMS VAX 5.5-2) Notes : (VAX only) Posted : not [.MEM_EDIT]MEM_EDIT.ZIP Description : example of using callable EDT and callable TPU to edit memory-variable Source : MACRO Binary : not available Notes : (VAX only) Posted : INFO-TPU march 1993 [.SPI]SPI.ZIP Description : example of calling EXE$GETSPI Source : C Binary : not available Notes : not written by me (VAX only) Posted : MACRO32 february 1993 [.MISC]EXTTRNLNM.MAR Description : translates a logical in the context of another process. (particular usefull for translating logicals in another users LNM$PROCESS_TABLE) Source : MACRO Binary : not available Notes : privs necesarry (VAX only) Posted : not [.MISC]GETJIBADR.MAR Description : get JIB-address from PID (used for getting actaul name of LNM$JOB) Source : MACRO Binary : not available Notes : privs necesarry (VAX only) Posted : not [.MISC]GETCH.C Description : example of implementing putch,kbhit and getch in C via $QIOW including CTRL/Y trapping Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX november 1991 [.MISC]CRC.C Description : example of emulating the CRC instruction Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX october 1990 and MACRO32 march 1993 [.MISC]FIND_FILE_%.C Description : Examples of calling LIB$FIND_FILE from C. Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX january 1991 [.UTILITIES]UTILITIES.ZIP Description : examples of small utilities to help the system-manager with his daily work. The examples include: - Find information about all processes at node (pre-VMS5.2) - Find information about all processes at node (post-VMS5.2) - Find information about all processes in cluster - (post-VMS5.2 extended version 1) - Find all nodes in cluster and find information about all processes at nodes - (post-VMS5.2 extended version 2) - Find information about one queue - Find information about all queues - Find information about one job - Find informatrion about all job in one queue - Find informatrion about all job in all queues - Find information about all usernames in SYSUAF (supported) - Find information about all usernames in SYSUAF (unsupported) - Find information about all disk-quotas on a disk (supported) - Find information about all disk-quotas on a disk (unsupported) Source : DCL, FORTRAN, PASCAL and C Binary : not available Notes : privs necesarry (VAX and AXP) Posted : presented at DECUS Denmark symposie june 1993 [.MISC]EXTGETDDIR.MAR Description : get default directory in the context of another process. Source : MACRO Binary : not available Notes : privs necesarry (VAX only) Posted : not [.BM]BM.ZIP Description : this bechmark compares the efficiency of PASCAL, FORTRAN, C and MACRO for 3 basic numeric operations: matrix transpose, matrix copy and vector dot product. Results are included for different versions of PASCAL and FORTRAN. The results of PASCAL is very poor indeed. Source : PASCAL, FORTRAN, C and MACRO Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX june 1991 [.BM]RESULT.DAT Description : benchmark results from the program above. Source : - Binary : - Notes : none Posted : INFO-VAX march 1994 [.INST]INST_TEST.ZIP Description : this program tests the speed of various instructions in the VAX instruction-set Source : PASCAL and MACRO Binary : not available Notes : it takes approx. 100/VUPS CPU hours to run, so you may want to run it in the weekend (VAX only) Posted : INFO-VAX january 1992 [.INST]SUMMARY.TXT Description : a summary of results for the program above run on different VAX'es Source : - Binary : - Notes : none Posted : INFO-VAX march 1992 [.INST]INST_RES.ZIP Description : a summary of results for the program above run on different VAX'es + the raw material on which the summary is based + a small program helping analyzing the results Source : PASCAL Binary : not available Notes : none Posted : not [.MISC]SYS$IMGACT.COM Description : it demonstrates what I know about the two undocumented system-services SYS$IMGACT and SYS$IMGFIX and the documented user of them LIB$FIND_IMAGE_SYMBOL. Source : FORTRAN and MACRO Binary : not available Notes : (VAX only) Posted : MACRO32 december 1993 [.CPUTIME]CPUTIME.ZIP Description : demonstrates six different ways of getting CPU usage. Source : FORTRAN and MACRO Binary : not available Notes : (VAX only) Posted : INFO-VAX february 1994 [.FONTGEN]FONTGEN.ZIP Description : program that generates softfonts for VT220 terminals from an ascii-file + 2 example ascii-file fonts Source : PASCAL Binary : OBJ's and EXE's in FONTGEN_VAX.ZIP (compiled with PASCAL 5.0 on VAX and linked on VMS VAX 5.5-2) OBJ's and EXE's in FONTGEN_AXP.ZIP (compiled with PASCAL 5.0 on AXP and linked on VMS AXP 1.5) Notes : (VAX and AXP) Posted : not [.SETPMT]SETPMT.ZIP Description : changes the prompt to current directory whenever current directory is changed via DCL (and that is always the case unless some programs calls SYS$SETDDIR themselves). No privs required. Source : FORTRAN Binary : OBJ's and EXE's in SETPMT_BIN.ZIP (compiled with FORTRAN 6.1 and linked on VMS 5.5-2) Notes : needs VERB or VMS 5.5 (VAX only) Posted : not [.REDUCE]REDUCE.ZIP Description : performe expression reduction via TPU and a TPU$CALLUSER module using general RPS techniques Source : TPU, FORTRAN and MACRO Binary : OBJ's and EXE's in REDUCE_BIN.ZIP (compiled with FORTRAN 6.1 and linked on VMS 5.5-2) Notes : (VAX only) Posted : not [.MISC]GETCH_BCSTTRAP.C Description : example of implementing putch,kbhit and getch in C via $QIOW including CTRL/Y trapping and broadcast trapping Source : C Binary : not available Notes : (VAX and AXP) Posted : not [.CALLABLE_MAIL]CALLABLE_MAIL.ZIP Description : documentation of callable mail Source : - Binary : - Notes : not written by me Posted : not [.VAX2AXP]VAX2AXP_TXT.ZIP Description : a small guide to porting programs from VAX VMS to VMS AXP. Covers both FORTRAN,C,PASCAL and MACRO32 programs. Source : mostly text, but also small FORTRAN/C/MACRO32/MACRO64 demonstration programs Binary : - Notes : none Posted : presented at DECUS Denmark symposie june 1994 [.VAX2AXP]VAX2AXP_PS.ZIP (same as VAX2AXP_TXT.ZIP but a nicer postscript version genereated by WP 5.1/DOS) [.VAX2AXP]VAX2AXP_WP5.ZIP (same as VAX2AXP_TXT.ZIP but as a WP 5.1/DOS document) [.MISC]MIX_FORTRAN_C_IO.COM Description : it demonstrates how to use the same open files in both FORTRAN and C routines Source : FORTRAN and C Binary : not available Notes : (VAX only) Posted : INFO-VAX june 1994 [.GIVE_NAME]GIVE_NAME.ZIP Description : shows how to get the name of the calling routine Source : FORTRAN and MACRO Binary : OBJ's and EXE's in GIVE_NAME_BIN.ZIP (compiled with FORTRAN 6.1 and linked on VMS 5.5-2) Notes : (VAX only) Posted : INFO-VAX june 1994 [.MISC]FORTRAN_MACRO_CALL_%.COM Description : examples of calling MACRO routines from FORTRAN Source : FORTRAN and MACRO Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX april 1994 [.MISC]FORTRAN_VARARG.COM Description : examples of FORTRAN routines with varying number of arguments Source : FORTRAN and MACRO Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX april 1994 [.SPAWN_MBX]SPAWN_MBX.ZIP Description : shows how to create a subprocess with input and output via mailboxes Source : FORTRAN and MACRO Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX july 1994 [.NICE]NICE_BASE.ZIP Description : Pascal beautifier (prettyprinter) with lots of features analysing code and helping porting between DEC PASCAL and TURBO PASCAL. This is the base kit for program modification. Source : C,YACC and LEX Binary : see below Notes : (all platforms) Posted : not [.NICE]NICE.ZIP Description : Pascal beautifier (prettyprinter) with lots of features analysing code and helping porting between DEC PASCAL and TURBO PASCAL. This is a prepared kit for DEC PASCAL, TURBO PASCAL and STANDARD PASCAL. Source : C Binary : OBJ's and EXE's in NICE_BIN_GNUC.ZIP (compiled with GNU C 2.5.8 on VAX and linked on VMS VAX 5.5-2) OBJ's and EXE's in NICE_BIN_VAXC.ZIP (compiled with VAX C 3.2 on VAX and linked on VMS VAX 5.5-2) OBJ's and EXE's in NICE_BIN_DECC.ZIP (compiled with DEC C 1.3 on AXP and linked on VMS AXP 1.5) OBJ's and EXE's in NICE_BIN_MSC.ZIP (compiled and linked with MS C on PC) Notes : (all platforms) Posted : not [.MISC]PASCAL_C_CALL.COM Description : examples of calling C routines from PASCAL Source : PASCAL and C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1994 [.MISC]FORTRAN_C_CALL.COM Description : examples of calling C routines from FORTRAN Source : FORTRAN and C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1994 [.MISC]BRKTHRUW.C Description : examples of calling SYS$BRKTHRUW from C Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1994 [.MISC]LOGICAL_LOOKUP.MAR [.MISC]TEST_LOGICAL_LOOKUP.FOR Description : lookup of all logicals in logical name table Source : MACRO (test-program in FORTRAN) Binary : not available Notes : privs necesarry to lookup in non-private tables (VAX only) Posted : INFO-VAX august 1994 [.MISC]CHNLST.MAR [.MISC]TEST_CHNLST.FOR Description : list all channels (with device-name and FID) for a given process Source : MACRO (test-program in FORTRAN) Binary : not available Notes : privs necesarry (VAX only) Posted : INFO-VAX august 1994 [.MISC]*_IMAGEINFO.MAR [.MISC]*_TEST_IMAGEINFO.COM Description : gets infor on current image Source : MACRO (test-program in FORTRAN) Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX october 1994 [.MISC]ENV.C Description : get/put from/to permanent DOS environment Source : C Binary : not available Notes : this is a DOS program Posted : not