[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

DCPS, $sndjbc, and parameters?

» close window

The Question is:

 
The command print/parameters=(MESSAGES="(KEEP)") will create a file
 SYS$LOGIN:DCPS$JOB_nnn.LOG with the event information.  I am writing a c
 program that calls sys$sndjbcw to que a file to the printer to be printed.  I
 was wondering which item_code is use
d to achieve the same effect as the print_parameters.  I thought it would have
 been SJC$_PARAMETER_1.  But when I did this, I received the following error
 message %DCPS-E-PARSYNERR, Syntax error in the /PARAMETERS qualifier at or
 near MESSAGES="(PRINT,KEE
P)".  Can you please tell me why this occurred?  Thanks.  If this is not the
 right way to do it, can you point me to the right direction?
 
 


The Answer is :

 
  The OpenVMS Wizard would suggest using MESSAGES=(PRINT,KEEP) as the target
  for the parameter, as having embedded double quotes within this particular
  DCL syntax is rather unusual.
 

answer written or last revised on ( 25-JUL-2000 )

» close window