Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can u pass the values into db2 values from cobol ?

Answers were Sorted based on User's Feedback



how can u pass the values into db2 values from cobol ?..

Answer / bhaskar

using host variables

Is This Answer Correct ?    18 Yes 0 No

how can u pass the values into db2 values from cobol ?..

Answer / uday

In your Execution jcl

//JOB1 JOB NOTIFY=&SYSUID
//STEP1 EXEC PGM=IKJEFT01
//STEPLIB DD DSN=PSHRPD.PROD.LOADLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(DB2X)
RUN PROGRAM(PXXXXXXX) PLAN(DB2XXXXX) PARM('1234')
END
/*

In your Program = PXXXXXXX

Linkage section.

01 LK-PARM.
05 LK-LEN PIC S9(04) COMP.
05 LK-DATA PIC X(04).

PROCEDURE DIVISION USING LK-PARM.

So through Parm data also you can pass the data.

Is This Answer Correct ?    3 Yes 1 No

how can u pass the values into db2 values from cobol ?..

Answer / raghunathareddy

loadmodule

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More COBOL Interview Questions

we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


What are the different data types in cobol?

0 Answers  


How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

10 Answers   IBM,


what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?

2 Answers   Satyam,


what is soc7 abend?how u can trace it?

4 Answers   Accenture,


how would find total records in files using seqientional

1 Answers   HSBC,


using redefine can you redefine lower variable size to higher variable size?

3 Answers   Patni,


how do you reference the esds vsam file formats from cobol programs

0 Answers  


I hv ten records in ps file and i hv say some 15 records in vsam file .i hv empno and age in ps file n empno,empname,dept n desig in vsam file. i hv 2 read the ps file n check wid matching empno in vsam file and then insert all fields from ps and vsam into db2 table....plz help in writin the procedure division

1 Answers  


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

0 Answers  


Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.

3 Answers   iGate,


what is record label is empty or standard in file description of data division?

2 Answers   HCL,


Categories