Why not just monitor for messages on the clear?

CPF3137 is the No authority message ID and CPF3203 is the Unable to
Allocate message ID.


Thanks,

Mark


Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
mwalter@xxxxxxxxxxxxxxx
http://www.hanoverwire.com
717.637.3795 Ext.3040
/"\
\ /
 X
/ \



                                                                                
                                                                      
                    Dan                                                         
                                                                      
                    <dbcemid@xxxxxxxxx>          To:     
midrange-l@xxxxxxxxxxxx                                                         
             
                    Sent by:                     cc:                            
                                                                      
                    midrange-l-bounces@xx        Subject:     how to determine 
authority & lock level required for CLRPFM                             
                    drange.com                                                  
                                                                      
                                                                                
                                                                      
                                                                                
                                                                      
                    04/08/2003 10:34 AM                                         
                                                                      
                    Please respond to                                           
                                                                      
                    Midrange Systems                                            
                                                                      
                    Technical Discussion                                        
                                                                      
                                                                                
                                                                      
                                                                                
                                                                      




I need to clear a file in CL and check for specific conditions:
  1) If there are any locks on the file that would prevent a CLRPFM to
complete.
  2) If the user has the appropriate authority to clear this file.

I know I need ALCOBJ for #1 and CHKOBJ for #2.  What I need to determine is
parameter values to
specify for them.  Specifically, the Lock State for ALCOBJ, and the
Authority for CHKOBJ.  If
someone can answer these for me, that'd be great.  But I'd really like to
know where/how to
determine this information, as I'm sure I'll run across this again in the
future.

(FWIW, we're at v5r2.)

TIA, Dan

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.