[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RE: your mail



Sender: <nellestj@xxxxxxx>


> I'm sorry to keep bugging you, but it still doesn't work. i only have them defined at the top, but I keep getting the following error messages:
*RNF7030 30     19 The name or indicator is not defined.                
*RNF7503 30     36 Expression contains an operand that is not defined.  

*RNF7030 30   1588 030642  The name or indicator PEAPPTMB is not defined.   
*RNF7030 30   1595 030717  The name or indicator PEAPPTMJ is not defined.   
*RNF7030 30   1446 029713  The name or indicator PECUSTC... is not defined. 
*RNF7030 30   1637 031167  The name or indicator PECUSTC... is not defined. 
*RNF7030 30   1441 029708  The name or indicator PEDIVIS... is not defined. 
*RNF7030 30   1651 031317  The name or indicator PEERLYWND is not defined.  
*RNF7030 30   1630 031092  The name or indicator PEETAJUL is not defined.   
*RNF7030 30   1581 030567  The name or indicator PEISAPPTM is not defined.  
*RNF7030 30   1574 030492  The name or indicator PEISAPPTR is not defined.  
*RNF7030 30   1567 030417  The name or indicator PEISBILL is not defined.   
*RNF7030 30   1560 030342  The name or indicator PEISCALLR is not defined.  
*RNF7030 30   1616 030942  The name or indicator PEISJITSTP is not defined. 
*RNF7030 30   1623 031017  The name or indicator PEISLIVE is not defined.   
*RNF7030 30   1609 030867  The name or indicator PEISPODR is not defined.   
*RNF7030 30   1602 030792  The name or indicator PEISSEALR is not defined.  
*RNF7030 30   1658 031392  The name or indicator PELATEWND is not defined.  
*RNF7030 30   1644 031242  The name or indicator PEREGION is not defined.   
*RNF7030 30   1553 030263  The name or indicator PESTOPTYP is not defined.  

Do I need to do something different when I go to fill them with the value from the XML document I'm reading from? Do I need to define something inside there? My code looks like this:

when name = 'AppointmentMadeBy';  
     select;                      
        when StopValue = '01';        
           peApptMB = *blanks;    
           peApptMB = value;      
     endsl;                       

> From: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> Date: 2005/05/04 Wed PM 04:13:59 GMT
> To: ftpapi@xxxxxxxxxxxxx
> Subject: Re: RE: your mail
> 
> Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
> 
> 
> Hi again,
> 
> The LIKEDS keyword is used to make a copy of a data structure. Consider 
> the following line of code:
> 
>   DStopInfo                         LIKEDS(StopInfo_T) DIM(18)
> 
> What this does is make a new data structure named "StopInfo" that has the 
> same subfields as a data structure named "StopInfo_T". (and the DIM 
> keyword converts it into an array with 18 elements)
> 
> Since StopInfo will have the exact same subfields as StopInfo_T, there's 
> no reason to list subfields for it.  In fact, that's why you're receiving 
> an error.
> 
> You've placed the following code after the LIKEDS line:
> 
> > D peStopNum
> > D peStopTyp
> > D peIsCallR
> > D peIsBill
> > D peIsApptR
> > D peIsApptM
> > D peApptMB
> > D peApptMJ
> > D peIsSealR
> > D peIsPODR
> > D peIsJITstp
> > D peIsLive
> > D peETAJul
> > D peCustCdStp
> > D peRegion
> > D peErlyWnd
> > D peLateWnd
> 
> The system doesn't understand what all of those fields are. You can't 
> define subfields manually when you use LIKEDS, because it copies the 
> subfields from another structure.
> 
> So, it assumes that these are additional parameters in your prototype -- 
> but it doesn't know what types of variables they are so it complains "Hey! 
> You forgot the LIKE keyword!"
> 
> Just remove the subfields -- they should only be defined once, in the 
> StopInfo_T data structure.  They're not needed on the PR or the PI.
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubsribe from the list send mail
> to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
> -----------------------------------------------------------------------
> 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------