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 to use the same cobol program in Batch and CICS
onlines ? Please expalin with an example. Thanks in advance.

Answer Posted / guest1

1) Compile your cobol program and keep in the LOAD LIB.
2) Your CICS program's PROCEDURE DIVISION should be coded as
PROCEDURE DIVISION USING DFHEIBLK, DFHCOMMAREA, <your
variable>
3) Define your variable in Linkage section
4) Call the sub program in your CICS coce.
5) Compile the COBOL + CICS coding(Ensure that the cobol
LIB is added).
6) Give CEMT Command in CICS Region and type your
transaction it.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we change the password using ALTER? anyone tried and changed?

1951


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1114


what is the use of outrecord?

2153


what are decleratives in cobol?

2209


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1144


What is redefines clause in COBOL?

1249


What is the usage of comp fields in cobol?

1130


How do define dynamic array in cobol.

1082


Differentiate between structured cobol programming and object-oriented cobol programming.

1075


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2324


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3172


What is amode(31)

1109


How do you get the data to code the BMS macro?

1920


What is the problem of ordered sequential files access?

1109


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

1064