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: 8685
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: 2361
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
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm
No new posts Program usage statistics? John Poulakos CICS 6 Wed May 16, 2018 2:22 am
No new posts Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am

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