ATT962063 -- command

ATT962063 -- command

 

             PGM        PARM(&PATHNAME)                                         
                                                                                
             DCL        VAR(&PATHNAME) TYPE(*CHAR) LEN(512)                     
                                                                                
             DCL        VAR(&EXISTS) TYPE(*LGL)                                 
                                                                                
             OBJEXISTS  PATHNAME(&PATHNAME) RETURN(&EXISTS)                     
                                                                                
             IF         COND(&EXISTS) THEN(SNDPGMMSG MSG('Object' +             
                          *BCAT &PATHNAME *BCAT 'exists'))                      
             ELSE       CMD(SNDPGMMSG MSG('Object' *BCAT &PATHNAME +            
                          *BCAT 'does not exist'))                              
                                                                                
             ENDPGM                   

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close