
create procedure MyStoredProcedure( in strCP char(20),
                                    in strCX char(20),
                                    in strArg1 char(10),
                                    in strArg2 char(10))

// First PBLog() call uses default/null values for CP/CX/Line
// Second PBLog() call specifies CP/CX/Line

begin
    
    //... code
    
    call PBLog('v', 'In MyStoredProcedure()');
    
    if (strArg1 = strArg2) then
        call PBLog('e', 'Args are same:' + strArg1 + strArg2, strCP, strCX, 15);
    end if
    
    //... code
    
end
