I've had problems before accessing the QNTC file system before and had to change the user in the cgi program to use a valid server user. 
 
At the top of the CGI Program issue:
 
C* CHANGE USER FOR QNTC                                       
C                   movel     'CLERKS    '  NewUser          10
C                   call      'CHGUSER'                       
C                   parm                    NewUser           
C*                                                            
 
----------------------------------------------------------------------------------------------------------------
here is the CL "CHGUSER"
----------------------------------------------------------------------------------------------------------------
PGM        PARM(&USER)                                
                                                      
DCL        VAR(&USER) TYPE(*CHAR) LEN(10)             
DCL        VAR(&HNDL) TYPE(*CHAR) LEN(12)             
                                                      
CALL       PGM(QSYGETPH) PARM(&USER '*NOPWDCHK' &HNDL)
CALL       PGM(QWTSETP)  PARM(&HNDL)                  
CALL       PGM(QSYRLSPH) PARM(&HNDL)                  
 
ENDPGM
----------------------------------------------------------------------------------------------------------------
 
Change it back before LR in CGI.
 
Ken
----- Original Message -----
From: coryyellow
Sent: Thursday, December 08, 2005 11:24 AM
Subject: [Easy400Group] URL Linking with CGIDEV2

I hope someone can help me. I am trying to create a URL link (to open a
PDF)from my HTML with CGIDEV2.I have my alias set up as such:
Alias /pdf/ /QNTC/SERVER1/datasheets/PDF/  
And in the HTML I have:
<td align="left"><a target=dsheet href="">Datasheet</a></td>
(with ="/%S1URLI%/" containing the variable PDF file name>
All I keep getting in the log is:
MSG0018: File /QNTC/SERVER1/datasheets does not exist,
But it does, and in the exact path that my Alias refers to. Any and all
help is appreciated .





SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to