pass array to clle

230 pts.
Tags:
AS/400 DB2
AS400 iseries
iSeries RPGLE
i created RPGLE,within that i defined compiled time array now i want to pass that array (at a time only one insex) to cllle but while i run this rpgle its give me run time error ..that 
Error occurred while calling program or procedure *LIBL/practcl8
Message ID . . . . . . :   RNQ0211       Severity . . . . . . . :   99         
Message type . . . . . :   Inquiry                                             
Date sent  . . . . . . :   04/13/12      Time sent  . . . . . . :   23:40:32   
                                                                               
Message . . . . :   Error occurred while calling program or procedure          
  *LIBL/practcl8 (C G D F).                                                    
Cause . . . . . :   RPG procedure PRACT8 in program KRGUNN/PRACT8 at statement 
  7 attempted to call program or procedure *LIBL/practcl8, but was unable to   
  access the program or procedure, the library, or a required service program. 
  If the name is *N, the call was a bound call by procedure pointer.           
Recovery  . . . :   Check the job log for more information on the cause of the 
  error and contact the person responsible for program maintenance.            
Possible choices for replying to message . . . . . . . . . . . . . . . :       
  D -- Obtain RPG formatted dump.                                              
  S -- Obtain system dump.                                                     
  G -- Continue processing at *GETIN.                                          
                                                                       More... 
*********************
4>> CALL KRGUNN/PRACT8                                                        
    Cannot resolve to object practcl8. Type and Subtype X'0201' Authority     
      X'0000'.                                                                
    Function check. MCH3401 unmonitored by PRACT8 at statement 0000000007,    
      instruction X'0000'.                                                    
    Error occurred while calling program or procedure *LIBL/practcl8 (C G D   
      F).                                                                     
    Error occurred while calling program or procedure *LIBL/practcl8 (C G D   
      F).                                                                     
                                                                              
                                                                              
******************
DDS of RPGLE
dfilname          s             10a   dim(34) ctdata                       
dx                s              3  0 inz (1)                              
c                   dow       x<=34                                        
c                   call      'practcl8'                                   
c                   parm                    filname                        
c                   parm                    x                              
c                   add       1             x                              
c                   enddo                                                  
c                   seton                                        lr        
c*                                                                         
c*                                                                         
c*                                                                         
                                                                           
9A1                                                                        
9A2                                                                        
TL1                                                                        
*****************
DDS OF CLLE
PGM        PARM(&X &M)                           
DCL        VAR(&X) TYPE(*CHAR) LEN(1000)         
DCL        VAR(&M) TYPE(*DEC) LEN(3 0)           
WRKOBJ     OBJ(IESQAFILE/&X) OBJTYPE(*FILE)      
                                                 
                                                 
*****************


Software/Hardware used:
i-series

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • philpl1jb
    The error indicates that the system cannot find program practcl8. For some processes names need to be caps. It will be searching for program practcl8 in the jobs library list. It can only run a program not a module. Phil
    49,550 pointsBadges:
    report
  • TomLiotta
    Since this is a CALL instruction and the name is given as a literal in quotes -- 'practcl8' -- then the name of the object must exactly match. Phil suggestion of uppercase (caps) seems on the mark. Most likely the name is actually 'PRACTCL8'. Tom
    125,585 pointsBadges:
    report
  • Nikrajpapa
    thanks buddy...
    230 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following