I haven't found an appropiate discussionlist for my question (I have been out 
of the loop 8 years) so I post it here (Sorry! Please redirect me if you can.) 

I'm running DSNTEP2 in batch and using a JCL and command I used before (I 
think...) and getting an error message I can't understand. Obviously I'm doing 
something wrong: 

The msg: 

READY                                                         
 DSN SYSTEM(DB2V)                                             
READY                                                         
 RUN  PROGRAM(DSNTEP2) PLAN(DSNTEP1) LIB('DB2.DBV.SDSNSAMP')  
IKJ56712I INVALID KEYWORD, PLAN(DSNTEP1)                      
READY                                                         
END  

The JCL: 

 //XXXXXXXA     JOB   (410,C514),'DSNTEP2     THOMAS B',NOTIFY=XXXXXXX, 
//      CLASS=U,MSGCLASS=7,MSGLEVEL=(1,1),REGION=1M                    
//RUNDSN EXEC PGM=IKJEFT01,DYNAMNBR=20                                
//STEPLIB  DD  DSN=DB2.DBT.SINZLINK,DISP=SHR                           
//         DD  DSN=DB2.DBV.SDSNEXIT,DISP=SHR                           
//         DD  DSN=DB2.DBV.SDSNLOAD,DISP=SHR                           
//*        DD  DSN=DB2.DBV.SDSNSAMP,DISP=SHR                           
//SYSTSPRT DD SYSOUT=*                                                 
//SYSTSIN  DD *                                                        
 DSN SYSTEM(DB2V)                                                      
 RUN  PROGRAM(DSNTEP2) PLAN(DSNTEP1) LIB('DB2.DBV.SDSNSAMP')           
//SYSPRINT DD SYSOUT=*                                                 
//SYSUDUMP DD SYSOUT=*                                                 
//SYSIN    DD *                                                        
SELECT CLNR                                                            
        ,AVTALSID                                                      
        ,STATUS_AVTAL                                                  
        ,KUNDNR_EGARE                                                  
        ,CLNR_SERVICE                                                  
        ,KTONR_SERVICE                                                 
   FROM DB2V3.XXXXXX                                                  
  WHERE CLNR_SERVICE = 81141                                           
AND CLNR NOT IN (81141)                                                
AND KOD_STOMME       = 'XXX'                                           
//*                                                                    
//                     

Best Regards, 
Thomas Berg
                                                                         

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to