× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



A programmer at one of my clients just showed me this.
I have bumped into CLP and CLLE parameter issues before, but this is really 
weird.

When the job is submitted, the P#TITLE and P#CREDITS fields are:

&P#TITLE = 50 blanks
&P#CREDITS = 'Y'


After the job begins to execute (no missing code in-between)


&P#TITLE = 33 blanks, a 'Y', 16 blanks  
&P#CREDITS = 'Y'

This has to be a memory overlap issue, but this is pretty straightforward.

Anyone have any ideas. The is a CLLE and running on 5.2

Thanks

Ron

-----------------------------------------------------------

PGM PARM(&P#RPNAME &P#TITLE &P#CREDITS &P#COPIES + 
          &P#OUTQ &P#HOLD &P#SAVE &FDATE &TDATE +   
          &OPT2 &OPT3 &OPT4)                        
                                                    
DCL VAR(&BATCH)     TYPE(*CHAR) LEN(1)             
DCL VAR(&P#CALL)    TYPE(*CHAR) LEN(10)            
DCL VAR(&C)         TYPE(*CHAR) LEN(1) VALUE('C')  
DCL VAR(&P#RPNAME)  TYPE(*CHAR) LEN(50)            
DCL VAR(&P#CFNAME)  TYPE(*CHAR) LEN(50)            
DCL VAR(&P#TITLE)   TYPE(*CHAR) LEN(50)            
DCL VAR(&P#VPROG)   TYPE(*CHAR) LEN(10)            
DCL VAR(&P#CREDITS) TYPE(*CHAR) LEN(1)             
DCL VAR(&P#COPIES)  TYPE(*CHAR) LEN(2)             
DCL VAR(&P#OUTQ)    TYPE(*CHAR) LEN(10)            
DCL VAR(&P#HOLD)    TYPE(*CHAR) LEN(4)             
DCL VAR(&P#SAVE)    TYPE(*CHAR) LEN(4)             
DCL VAR(&FDATE )    TYPE(*CHAR) LEN(8)                       
DCL VAR(&TDATE)     TYPE(*CHAR) LEN(8)                       
DCL VAR(&OPT2)      TYPE(*CHAR) LEN(1)                       
DCL VAR(&OPT3)      TYPE(*CHAR) LEN(1)                       
DCL VAR(&OPT4)      TYPE(*CHAR) LEN(1)                       
DCL VAR(&DOALL)     TYPE(*CHAR) LEN(1)                       
                                                             
        RTVJOBA TYPE(&BATCH)                                 
                                                             
/*  Submit Job  */                                           
                                                             
        IF COND(&BATCH = '1') THEN(DO)                       
          SBMJOB CMD(CALL PGM(VL0120C) +                     
          PARM(&P#RPNAME &P#TITLE &P#CREDITS &P#COPIES +     
               &P#OUTQ &P#HOLD &P#SAVE &FDATE &TDATE +       
               &OPT2 &OPT3 &OPT4)) +                         
          JOB(VELOCITY) +                                    
                                                             
           JOBQ(QSAISGL) +               
           LOGCLPGM(*YES) +              
           LOG(*JOBD *JOBD *SECLVL)      
                                         
           GOTO END                      
         ENDDO                           
                                         
/*  Run Job  */        
                       
    CLRPFM VLSAHIST    
    CLRPFM VLHISTPL    







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.