kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12373 Topics: 75 Location: San Jose
|
Posted: Sun May 25, 2003 9:34 am Post subject: |
|
|
Sravan,
You can run the program using IKJEFT01.The following JCl can be used to run your cobol Db2 program.
Code: |
//STEP0100 EXEC PGM=IKJEFT01,DYNAMNBR=20
//*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(XXXX)
RUN PROGRAM(PGM NAME) PLAN(PLAN NAME) -
LIB('LOAD LIB NAME')
//*
//* input and output file definitions goes here
//*
//INPUT DD DSN=INPUT FILE,
// DISP=SHR
//OUTPUT DD DSN=YOUR OUTPUT FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE)
|
Here XXXX - is your DB2 Region name.
Hope this helps...
cheers
kolusu |
|