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

Utility used for precompling the COBOL-DB2 program


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hai_anand

New User


Joined: 07 Sep 2006
Posts: 4

PostPosted: Wed Sep 13, 2006 3:21 pm
Reply with quote

Could any one please tell me the utility used for precompling the
COBOL-DB2 program?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Sep 13, 2006 4:30 pm
Reply with quote

Yes. The fine manual can answer your questions.

O.
Back to top
View user's profile Send private message
mfibm

New User


Joined: 12 Sep 2006
Posts: 13

PostPosted: Wed Sep 13, 2006 7:02 pm
Reply with quote

hey its DSNHPC............is it not
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Sep 13, 2006 8:09 pm
Reply with quote

That's the COBOL version of the precompiler.

O.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Wed Sep 13, 2006 9:57 pm
Reply with quote

//DSNTIAUL EXEC DSNHCOB2,
// USER=userid,MEM=<member name>,PARM.PC=SOURCE,
// PARM.COB=LIB
//PC.SYSLIB DD
// DSN=<lib where include library is located>,
// DISP=SHR
//PC.SYSIN DD DSN=<dataset where code is present> ,
// DISP=SHR
//PC.SYSCIN DD DSN=<where modified code need to be given>,
// DISP=SHR
//COB.SYSLIB DD DSN=<lib where copylib are present> ,
// DISP=SHR
//COB.SYSIN DD DSN=<where precompiler output is present>,
// DISP=SHR
//LKED.SYSIN DD DUMMY

Note load module will be created default dataset also the same is true for DBRM
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 -> Mainframe Interview Questions

 


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