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
 

 

Utility used for precompling the COBOL-DB2 program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Utility used for precompling the COBOL-DB2 program
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: 2360
Location: Israel

PostPosted: Wed Sep 13, 2006 4:30 pm    Post subject:
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    Post subject: Re: Utility for precomplie
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: 2360
Location: Israel

PostPosted: Wed Sep 13, 2006 8:09 pm    Post subject:
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    Post subject: Re: Utility used for precompling the COBOL-DB2 program
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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