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 i write a comp-3 variable into a sequential file
should i declara the field in the file description as comp-
3?

Answer Posted / suresh kumar

Hi,

Define the field, which u r going to write, as Comp-3 in
the File description and write it to the output file.

Thanks,
Suresh

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to remove 2 duplicate records and copy only one using job control language?

1169


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1467


How do get the result of your program directly on your pc?

2295


How many sections are there in data division in COBOL?

1079


what is the use of outrecord?

2153


Write the code to count the sum of n natural numbers.

1143


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12184


What is the difference between comp and comp-3?

1132


What are the pertinent COBOL commands?

3105


Difference between array and sub-script ?

1604


What is the difference between PIC 9.99 and 9v99 in COBOL?

1244


how do you define single dimensional array and multidimensional array in your cobol?

1046


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

1114


Name the sections present in data division.

1175


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2081