ATT962062 -- command

ATT962062 -- command

 
 /**********************************************************/                    
/*                                                        */                    
/* Command: OBJEXISTS                                     */                    
/* Purpose: Test object existence using path name         */                    
/*   Notes: The first parameter is the full path name     */                    
/*          of an object, the second is a logical status  */                    
/*          code - TRUE means object exists.              */                    
/*                                                        */                    
/*          Command may be used only in programs or REXX  */                    
/*          procedures.                                   */                    
/*                                                        */                    
/**********************************************************/                    
             CMD        PROMPT('Check object link')                             
                                                                                
             PARM       KWD(PATHNAME) TYPE(*PNAME) LEN(512) MIN(1) +            
                          VARY(*YES *INT2) PROMPT('Object to check')            
                                                                                
             PARM       KWD(RETURN) TYPE(*LGL) RTNVAL(*YES) +                   
                          PROMPT('Object exists')         

Dig deeper on iSeries programming commands

0 comments

Oldest 

Forgot Password?

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

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close