MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reg IKJEFT1B (TMP)

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
srini_igsi
Beginner


Joined: 12 May 2006
Posts: 41
Topics: 16
Location: Mumbai

PostPosted: Thu Nov 09, 2006 8:25 am    Post subject: Reg IKJEFT1B (TMP) Reply with quote

Hi,

I want to delete a record from the DB using the said uttlity pgm (Terminal Monitor Pgm). I want to know some info especially the things related to the SYSTSIN DD card.

//SYSTSIN DD *
DSN SYSTEM(XPD1)
RUN PROGRAM(DSNTEP2) -
LIB('SYSDB2.RUNLIB.LOAD')
END
//SYSIN DD *
DELETE FROM PSDAT.BU WHERE BU_ID IN (436764, 564254);
COMMIT;
//*

Getting the following err msg.

READY
DSN SYSTEM(XTD1) RUN PROGRAM(DSNTIAUL) LIB('SYSDB2.RUNLIB.LOAD')
IKJ56712I INVALID KEYWORD, RUN
IKJ56712I INVALID KEYWORD, PROGRAM(DSNTIAUL)
IKJ56712I INVALID KEYWORD, LIB('SYSDB2.RUNLIB.LOAD')
READY
END
READY
END
_________________
Thanks,
-Srini
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Nov 09, 2006 8:33 am    Post subject: Reply with quote

srini_igsi,

Your SYSTSIN shows that you are running DSNTEP2 , but in the error messages it shows that you are trying to run DSNTIAUL. one of them is definetely wrong. Also you are missing the PLAN keyword.

If you are running the DSNTEP2 then your SYSTSIN control cards should be as follows

Code:

//SYSTSIN  DD *                   
  DSN SYSTEM(XPD1)               
  RUN PROGRAM(DSNTEP2) -         
      PLAN(DSNTEP2)    -         
      LIB('SYSDB2.RUNLIB.LOAD')     
  END                             
//*                         


If you are running DSNTIAUL , then your control cards should be as follows
Code:

//SYSTSIN  DD *                   
DSN SYSTEM(XPD1)               
RUN  PROGRAM(DSNTIAUL) -       
     PLAN(DSNTIAUL)    -       
     PARMS('SQL')      -       
     LIB('SYSDB2.RUNLIB.LOAD')
  END 


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group