Can we move SPACES to numeric field and ZEROES to
alphabetic field? If yes what are the way doing this?

Answer Posted / jayaprabhu

we can move the numeric to alphanumeric or alphabetic and
vive versa only using the redefines.

this concept is useful when you want to have only one copy
book field need to change to num/aplha for particular
program.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

984


What is the utilization of copybook in cobol?

883


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 ......

11522


What is the difference between comp and comp-3?

896


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?

1410


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

886


what is difference between cobol and cobol/400

22139


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

964


Name some of the examples of COBOl 11?

2883


How you can characterize tables in cobol?

924


Write down the divisions of cobol program?

842


Why did you choose to work with ibm mainframe cobol programming?

850


What is the local-storage section?

889


What are 77 levels used for?

846


What are the different types of condition in cobol and write their forms.

874