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: 44
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: 2180
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: 44
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts A sample of exit program for exit XMN... lind sh CICS 2 Mon Oct 03, 2016 5:07 pm


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