To understand a new technique, I find the best way is to take a
program that works well enough and keep changing it until it breaks. 
 ...Well it didn't take long today.

To start, I wanted to replace gethtml() with IfsMultIndicators() and
move my html template /websecure/html/DSPVLDLmcc.html to IFS 

  * Load the external HTML                                           
         
 C**                 callp     gethtml('HTMLSRC':                    
         
 C**                           'WEBSECURE':'DSPVLDL')                
         
  * Read externally defined output html files                        
         
 C                   eval      IfsMultIndicators = gethtmlifsmult(   
         
 C                             '/websecure/html/DSPVLDLmmc.html')    
         


Then I had to swap some prototype files and add in some required
variables to make it work.
*=================================================
/copy websecure/qrpglesrc,hspecs                  
/copy websecure/qrpglesrc,hspecsbnd               
/copy websecure/qrpglesrc,prototypeb              
***/copy websecure/qrpglesrc,usec                 
***/copy websecure/qrpglesrc,variables3           
/copy cgidev2/qrpglesrc,usec                      
*=================================================


Binds and compiles fine, but when I run it I get:

"Cannot read script output pipe." error

 00152 GetHtmlIfsMult: Could not access IFS file
/websecure/html/DSPVLDLmmc.html.  File is being ignored.
 00133 GetHtmlIfsMult: None of the requested files was usable.  No
files were read and no externally desc
 00034 WrtSection: Section TOP not found.                            
                                   
 00034 WrtSection: Section END not found.                            
                                   

Do I have to define /websecure in Apache setup to make it accessible
to gethtmlifsmult? 




--- In [email protected], "Giovanni B. Perotti"
<[EMAIL PROTECTED]> wrote:
>
> Answers from Giovanni:
> 
> 1- January 10th, 2006 WEBSECURE release just was added the RST 
> DEV('/qsys.lib/websecure.lib/websecure.file') OBJ(('/websecure'))
line that 
> was missing in the INSTALL program
> 2- Validation list entries can just be accessed via API's. This was the 
> reason for writing the Validation List Utility "websecure/wrkvldl"
(see page 
> http://www.easy400.net/websech/vldlut.mbr ). To retrieve a
validation list 
> entry, you may use module "wrkvldle" included in the utility.
> 
> Suggestion for incorporating validation list security to an existing 
> application:
> - have a "user" database file, keyed on the usernames (the same used
in the 
> validation list).
> - have it maintained through the same program that maintains the
validation 
> list
> - in the "user" database files have other fields such as name,
department, 
> address, etc.. Flag fields specifying the authorized applications
the user 
> may access, may further help you in implementing other security checks. 
> Obviously never add a field containing the user password, it would be 
> against ... security.
> 
> Giovanni
> ----- Original Message ----- 
> From: "itpweb1" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, January 13, 2006 4:12 PM
> Subject: [Easy400Group] Re: trouble installing websecure. - solved
> 
> 
> >I got the examples working. ref:
http://www.easy400.net/websech/vldlut.mbr
> >
> > Today's goal is to incorporate validation list security into an
> > existing application. Any tips appreciated.
> >
> > Giovanni: I installed WEBSECURE January 7th. Does new version of (Jan
> > 10th) have anything  that I shoud have other than the missing line
> > RST DEV('/qsys.lib/websecure.lib/websecure.file') OBJ(('/websecure'))
> > In other words, should I re-install with new version?
> >
> > Also. Is it possible to "Chain" into a validation list on a specific
> > user ID, like a keyed PF?
> >
> > thanks
> >
> >
> >
> >
> >
> >
> > --- In [email protected], "Giovanni B. Perotti"
> > <[EMAIL PROTECTED]> wrote:
> >>
> >> For some unkown reason you failed to restore directory /websecure.
> >>
> >> Please run the following command as QSECOFR:
> >> RST DEV('/qsys.lib/websecure.lib/websecure.file') OBJ(('/websecure'))
> >>
> >> Giovanni
> >> ----- Original Message ----- 
> >> From: "itpweb1" <[EMAIL PROTECTED]>
> >> To: <[email protected]>
> >> Sent: Monday, January 09, 2006 4:06 PM
> >> Subject: [Easy400Group] trouble installing websecure.
> >>
> >>
> >> >
> >> > I am having trouble installing websecure.
> >> >
> >> > Command RSTLIB SAVLIB(WEBSECURE) was successful.
> >> >
> >> > I ran "STRREXPRC SRCMBR(INSTALL) SRCFILE(WEBSECURE/QREXSRC)"
> >> > installation fails at  " CHGVAR  VAR(&PCFILE)  VALUE
> >> > ('/websecure/case03try.htm')"
> >> >
> >> > with this message:
> >> >
> >> >
> >> > QPADEV000K      User  . . . . . . :   QSECOFR
> >> > Number . . . . . . .
> >> > . . . . :   09
> >> > QDFTJOBD        Library . . . . . :
> >> > QGPL
> >> > SEV  DATE      TIME             FROM PGM     LIBRARY     INST 
   TO
> >> > PGM
> >> >      LIBRARY
> >> >   To procedure  . . . . . . . :
> >> > INSTALL
> >> >   Statement . . . . . . . . . :
> >> > 23000
> >> >   Message . . . . :   Object not found.  Object is
> >> >   /websecure/case03try.htm.
> >> >   Cause . . . . . :   Object /websecure/case03try.htm, or a
> >> > directory in
> >> >   the object path, could not be found, or its type cannot be
> >> > resolved by
> >> >     this function. Recovery  . . . :   Correct the name or specify
> >> > an object
> >> >     of the correct type. To determine if the object exists, use the
> >> > Work with
> >> >     Object Links (WRKLNK) command. If the name exists, check the
> >> > type of the
> >> >     object. If the name contains symbolic link objects, ensure the
> >> > path names they
> >> >     resolve
> >> >
> >> >
> >> >
> >> > /websecure directory and related files on IFS has not been created
> >> > and I don't see where they would come from.
> >> >
> >> > I am using QSECOFR with full authority.
> >> >
> >> > Any ideas?
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > Yahoo! Groups Links
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to