Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

wat is relation for plan and program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: wat is relation for plan and program
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: 8593
Location: Back in jolly old England

PostPosted: Thu Dec 02, 2010 12:33 pm    Post subject:
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: 2276
Location: @my desk

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

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

http://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    Post subject:
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: 186
Location: chennai

PostPosted: Thu Dec 02, 2010 5:24 pm    Post subject: Reply to: wat is relation for plan and program
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 3 Mon May 29, 2017 8:10 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us