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 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 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 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 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 FIND_FILE_1.C FIND_FILE_2.C Description : Examples of calling LIB$FIND_FILE from C. Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX january 1991 EXTGETDDIR.MAR Description : get default directory in the context of another process. Source : MACRO Binary : not available Notes : privs necesarry (VAX only) Posted : not 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 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 FORTRAN_MACRO_CALL_1.COM FORTRAN_MACRO_CALL_2.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 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 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 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 BRKTHRUW.C Description : examples of calling SYS$BRKTHRUW from C Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1994 LOGICAL_LOOKUP.MAR TEST_LOGICAL_LOOKUP.FOR TEST_LOGICAL_LOOKUP.C Description : lookup of all logicals in logical name table Source : MACRO (test-program in FORTRAN and C) Binary : not available Notes : privs necesarry to lookup in non-private tables (VAX and AXP) Posted : INFO-VAX august 1994 CHNLST.MAR 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 VAX_IMAGEINFO.MAR AXP_IMAGEINFO.MAR VAX_TEST_IMAGEINFO.COM AXP_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 ENV.C Description : get/put from/to permanent DOS environment Source : C Binary : not available Notes : this is a DOS program Posted : not PORTABLE_INT2HEXSTR.PAS Description : portable code for converting an integer to a hex-string Source : PASCAL Binary : not available Notes : none Posted : COMP.LANG.PASCAL october 1994 QUEUE_CLEANUP.COM Description : deletes all entries in a queue Source : DCL Binary : - Notes : privs necesarry Posted : INFO-VAX november 1994 WHO_IS_ON.COM Description : shows who is on the system Source : DCL Binary : - Notes : privs necesarry Posted : not UN_PW_CHECK.PAS Description : checks all usernames for if password=username Source : PASCAL Binary : not available Notes : privs necesarry (both VAX and AXP) Posted : not ACCOUNT.C Description : gets CPU usage for all process terminations from ACCOUNTNG.DAT file Source : C Binary : not available Notes : (both VAX and AXP) Posted : not RANDOM.PAS Description : density, accumulated and inverse accumulated function for the normal distribution Source : Pascal Binary : not available Notes : none Posted : not TEST_CIALST.FOR CIALST.MAR Description : list content of intrusion database Source : FORTRAN and MACRO Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX november 1994 CHANGE_PROT.FOR CHANGE_PROT.PAS CHANGE_PROT.C Description : example of how to change protection (give Owner Delete access) Source : FORTRAN, PASCAL and C Binary : not available Notes : (VAX and AXP) Posted : not FPUTEST.PAS Description : test for bad Pentium chips (FDIV bug) Source : PASCAL Binary : FPUTEST.EXE Notes : must be compiled with inline x87 instructions Posted : not FILE_SIZE.FOR FILE_SIZE.PAS FILE_SIZE.C Description : example of how to find size of file Source : FORTRAN, PASCAL and C Binary : not available Notes : (VAX and AXP) Posted : not EBCDIC.C TEST_EBCDIC.C Description : example of how to convert between EBCDIC and ASCII Source : C Binary : not available Notes : none Posted : comp.lang.c january 1995 LOAD_IMAGE_VAX.COM LOAD_IMAGE_AXP.COM Description : example of how to use LIB$FIND_IMAGE_SYMBOL to load shareable image Source : FORTRAN and C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX march 1995 TERMSET.PAS TERMSET.C Description : example of how to use terminator-sets in SMG$-routines Source : PASCAL and C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX december 1990/may 1995 READACL.FOR Description : example of how to read ACL from a file Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX may 1995 TPU$CALLUSER.C Description : example of how create a TPU$CALLUSER routine (translation of logicals) Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-TPU march 1991 CLD.COM Description : example of how to use CLD-files and CLI$-routines Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX february 1992 LIST_LIBRARY.FOR LIST_LIBRARY.C Description : example of how to list content of text library with LBR$-routines Source : FORTRAN and C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1993 TERM_SIZE.FOR Description : get terminal size (width and heigth) Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX april 1990 STRCVT.PAS Description : convert between "packed array of char" and "varying of char" Source : PASCAL Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX april 1992 ERR_HANDL.FOR Description : example of using an error-handler (via LIB$ESTABLISH) to handle certain floating point errors Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX february 1993 SEND_MAIL.PAS Description : example of sending mail via callable mail (MAIL$-routines) Source : PASCAL Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX february 1991 OUTPUT_HELP.FOR Description : example of formating help output via LBR$OUTPUT_HELP Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX march 1993 PARSE.FOR Description : example of parsing file specification with SYS$PARSE Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1991 VERIFY.MAR TEST_VERIFY.FOR Description : test whether verify is set or not Source : MACRO (test-program in FORTRAN) Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX may 1991 RECALL.MAR TEST_RECALL.FOR Description : get copy of recall buffer Source : MACRO (test-program in FORTRAN) Binary : not available Notes : (VAX only) Posted : INFO-VAX september 1992 CPULOAD.MAR TEST_CPULOAD.PAS Description : get CPU load in various modes including idle time Source : MACRO (test-program in PASCAL) Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX september 1993 DELETE_CONFIRM.FOR Description : example of using LIB$DELETE_FILE to delete files with confirmation Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX april 1993 SHOW_QUOTA.FOR Description : example of getting disk-quota for user and getting the owner-field with SYS$GETUAI Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX june 1993 I8_VAX.COM I8_AXP.COM Description : example of how to use 64 bit integers Source : FORTRAN, C and C++ Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX november 1993 ACL.MAR TEST_ACL.FOR TEST_ACL.PAS Description : ACL manipulation Source : MACRO (test-program in FORTRAN and PASCAL) Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX february 1991 TERMINFO.C Description : get information about terminal Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1995 STMLF.C FIX512.C Description : example of how to set file attributes (change to STREAM_LF and FIXED 512) via SYS$MODIFY Source : C Binary : not available Notes : (VAX and AXP) Posted : not LNMLOOKUP.ZIP Description : user-written system-service to allow wildcard lookup of logicals Source : MACRO and C Binary : not available Notes : written by Ferdinand Bolhár-Nordenkamp (VAX and AXP) Posted : not CHKPW.MAR CHKPW.C Description : check if username/password combination is valid Source : MACRO and C Binary : not available Notes : privs necesarry to check other usernames (VAX and AXP) Posted : INFO-VAX november 1995 CMPC3.COM Description : examples of getting CMPC3 functionality in FORTRAN Source : FORTRAN, MACRO and C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX december 1995 EXCVEC.MAR TEST_EXCVEC.FOR Description : example of how to get the exception vectors (can be used to tell whether an image is run under debugger) Source : MACRO (test program in FORTRAN) Binary : not available Notes : (VAX and AXP) Posted : VMSNET-INTERNALS february 1996 ID_BY_USER.C Description : example of how to find all identifiers held by user Source : C Binary : not available Notes : (VAX and AXP) Posted : VMS-WEB-DAEMON february 1996 DBF.PAS TEST_DBF.PAS Description : example of how to write an DBF-file Source : PASCAL Binary : not available Notes : (VAX and AXP) Posted : not MSG.COM Description : example of how to use "messages" Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : not IJOBCNT.C IJOBCNT.FOR IJOBCNT_DCL.C Description : example of how to get number of current interactive users Source : C and FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX may 1996 PASCAL_FORTRAN_CALL.COM FORTRAN_PASCAL_CALL.COM Description : example of how to call FORTRAN from PASCAL and PASCAL from FORTRAN Source : FORTRAN and PASCAL Binary : not available Notes : (VAX and AXP) Posted : not UAFCHK.PAS Description : check SYSUAF quotas for all usernames Source : PASCAL Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX july 1996 SHOWMEM.COM Description : show memory usage for all processes Source : DCL Binary : - Notes : (VAX and AXP) Posted : INFO-VAX august 1996 MAILQUOTE.TPU Description : quote mail and include signature automatically Source : TPU Binary : - Notes : (VAX and AXP) Posted : INFO-VAX july 1996 TRUNCATE.C Description : truncate a file at a specfied byte Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1996 FID2NAME.FOR Description : translate from FID to filename with LIB$FID_TO_NAME Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1996 PW_GEN.PAS Description : generate a lot of random passwords Source : PASCAL Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1996 LIB$SET_LOGICAL.C Description : example of calling LIB$SET_LOGICAL Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX december 1996 MIX_C_CPLUSPLUS.COM Description : example of mixing C and C++ Source : C and C++ Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX december 1996 NULLCPU_VAX.COM NULLCPU_AXP.COM Description : get NULL CPU ticks Source : MACRO and FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX june 1994 SIG.TXT Description : example of automaticly adding signature-files to outgoing emails Source : DCL and TPU Binary : not available Notes : (VAX and AXP) Posted : not DCL.COM Description : example of using loops and arrays in DCL (to do a simple sort) Source : DCL Binary : not available Notes : (VAX and AXP) Posted : not VMS2UNIX.COM Description : DCL version of decc$from_vms Source : DCL Binary : not available Notes : (VAX and AXP) Posted : not CMDLIN.MAR TEST_CMDLIN.FOR Description : code to get the last entry in the recall buffer Source : MACRO (test program in FORTRAN) Binary : not available Notes : (VAX and AXP) Posted : not CREDIR_C_FORTRAN.COM Description : example of creating directories in C and FORTRAN Source : C and FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX november 1998 SHARED_IMAGE_LIBRARY.COM Description : example of using object libraries, shareable images and shareable librares Source : C Binary : not available Notes : (AXP) Posted : INFO-VAX december 1998 GETPID.C Description : example of getting PID via various calls Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX may 1999 FORTRAN_C_DATE.FOR Description : example of using C time/date functions in FORTRAN Source : FORTRAN Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX march 1999 DISK_LOOKUP.C Description : example of looking up all mounted and not-write-protected disks using C Source : C Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX july 1999 DEFLOG.PAS Description : example of defining logical with multiple equivalences using Pascal Source : PASCAL Binary : not available Notes : (VAX and AXP) Posted : INFO-VAX august 1999