Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8619
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: 2287
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: 193
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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Finding the plan when code compiled u... Ahemad DB2 1 Fri Dec 01, 2017 6:38 pm
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us