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

#3 how program is picked from plan in db2-cobol program


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

New User


Joined: 15 Mar 2006
Posts: 10
Location: fl;jds

PostPosted: Mon Apr 10, 2006 11:40 am
Reply with quote

hi,folks

there are some programs(db2),how u going to pick particular program from a plan?
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Mon Apr 10, 2006 12:14 pm
Reply with quote

Hi,
I couldn'y get the exact picture of your requirement. I assume this would fulfil your's, if not please let us know what do you mean exactly ?
You could use,
RUN PROGRAM NAME(XXXX) PLAN(XXXX) DSN(XXXX)
....................
....................

A plan can have more than one program's name in it. So to invoke a particular program, you use the above syntax.
If that particular program is not found in that plan, it would result in -805 ( Program name not found in plan error).

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

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top