Friday December 11 2009 @ 05:43PM EST, Jerry Alan Braga
views: 155
This procedure is used by my sendmail.com when you want to convert an text attachment to pdf. The submission contains a command file and C file that I got from someone else on the net. You need to compile using c compiler in VAXC standard. The command procedure will detect the length of the text file max rec and convert it to the most proper format.
Friday December 11 2009 @ 05:32PM EST, Jerry Alan Braga
views: 165
This procedure is an updated copy of my previous contribution. Updates are:
Fixed mime header ID issues
can convert to HTML,PRE and PDF with added feature (works without)
if no @ exists in email address will check a specific directory logical for that address.dis and get email address from there. Great when using a simple name to full email address
can specify in last parameter an alter from address to send. I know that what that can be but it helps.
Monday October 26 2009 @ 09:29AM EDT, Tim Sneddon
views: 327
Given a process id (in P1, defaults to current process) this procedure will determine the name of the job logical table for said proccess.
Wednesday October 07 2009 @ 03:19PM EDT, steve sparrow
views: 677
DCL code demonstration of everything in sysuaf.
If you grant yourself all privileges, flags and rights, you can use @show_uaf to see all the extra bits not currently in use
Run this in a daily batch job (preferably on the queue manager node) to save off in six command files all of the DCL commands required to recreate the queue manager database (queues, forms, characteristics) and to resubmit scheduled batch jobs. Uses DISPLAY_JOBS.COM, DISPLAY_QUEUES.COM, DISPLAY_FORMS.COM and DISPLAY_CHARACTERISTICS.COM.
Retrieves all specifications for a set of batch job(s) using F$GETQUI and formats the data into SUBMIT command(s). Use $ @DISPLAY_JOBS ? for full documentation. (updated version required for QUEUE_MANAGER_SAVE.COM)
DISPLAY_QUEUES elicits the complete specifications for a set of queues
using F$GETQUI and outputs DCL command lines to recreate the queue(s).
The commands go to SYS$OUTPUT: or you can use @DISPLAY_QUEUES/OUTPUT=.
P1 can be a specific queue name or a wildcarded string; default is *.
P2-P8 can be used for the following /options that select what type of
queues are processed and what DCL commands are output for each queue:
/BATch - select batch queues only
/DEVice - select printer, terminal, and server queues only
/GENeric - select generic and logical queues only
/NOGENeric - select execution queues only
/STOP - output a STOP/QUEUE/RESET queue as the first command for each queue
/DEASsign - output a DEASSIGN/QUEUE command for logical queues before INITs
/DELEte - output a DELETE/QUEUE command just before each INIT/QUEUE command
/STARt - start each queue with the INIT or after ASSIGNs for logical queues
/NOSTARt - do not start any queue (default is to start only started queues)
/FORM - output /FORM_MOUNTED=current_form for device execution queues
/NOASSIgn - do not output the ASSIGN/QUEUE command for logical queues
/ASSIgn_only - only output the ASSIGN/QUEUE command for logical queues
/NOACL - do not output the SET SECURITY command for queues with ACLs
/ACL_only - only output the SET SECURITY command for queues with ACLs
/NOIDentifiers - translate owner and ACL identifier names to numeric values
Outputs DEFINE /FORM commands for any or all of your defined printer forms.
This procedure can be used along with DISPLAY_CHARACTERISTICS and DISPLAY_QUEUES to capture a snap-shot of the current queue manager data on your system/cluster.
Outputs DEFINE /CHARACTERISTICS commands for any or all of your system's defined characteristics.
This procedure can be used along with DISPLAY_FORMS and DISPLAY_QUEUES to capture a snap-shot of the current queue manager data on your system/cluster.