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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to access the file from prodution from changeman tool and to submit a file to production

7622


Name the divisions, which are available in a cobol program?

1293


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1292


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1692


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1549


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1143


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2185


How many sections are there in data division in COBOL?

1180


What are the pertinent COBOL commands?

3231


what is difference between cobol and cobol/400

23065


What is Pic 9v99 Indicates in COBOL?

1337


explain sorting techniques in cobol program?

1241


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1266


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1196


What is the utilization of copybook in cobol?

1270