IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

wat is relation for plan and program


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nandeshwar

New User


Joined: 11 Oct 2010
Posts: 45
Location: Delhi

PostPosted: Thu Dec 02, 2010 12:26 pm
Reply with quote

Hi,
can somebody tell me what the code stated below ,is doing in program..
It is defined in PDS which is defined in SYSTIN.

Code:

********************************* Top of Data *****************
DSN SYSTEM(GNP1)                                                 
RUN PROGRAM(DSNTEP2) PLAN(DSNTEP2) LIB('DB2.NP1.RUNLIB.LOAD')     
END                                                               
******************************** Bottom of Data ******************
                                                                 
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu Dec 02, 2010 12:33 pm
Reply with quote

Why are you posting DB2 questions in the JCL forum ???
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2482
Location: @my desk

PostPosted: Thu Dec 02, 2010 12:34 pm
Reply with quote

Reading the manuals here will be the best place to start with

publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.comref/db2z_cmd_run.htm
Back to top
View user's profile Send private message
nandeshwar

New User


Joined: 11 Oct 2010
Posts: 45
Location: Delhi

PostPosted: Thu Dec 02, 2010 12:36 pm
Reply with quote

expat wrote:
Why are you posting DB2 questions in the JCL forum ???


sorry for that but it was being used in JCl program.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 194
Location: chennai

PostPosted: Thu Dec 02, 2010 5:24 pm
Reply with quote

Hi nandeshwar

This statement is for executing a program called 'DSNTEP2' in a db2 system with SSID 'GNP1' . The load module is residing in a dataset 'DB2.NP1.RUNLIB.LOAD' and the plan name is 'DSNTEP2' itself.
This is a standard program used to execute SQLs using JCL.

Regards
Raghu
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts After newcopy the CICS program user f... CICS 7
No new posts Starting a CICS Transaction from a Th... CICS 0
No new posts Problem moving a cobol program into E... COBOL Programming 3
No new posts Error to invoke MPP program through B... IMS DB/DC 4
No new posts Using API Gateway from CICS program CICS 0
Search our Forums:


Back to Top