I have a source program compiled with Cobol-2. The output
file has a record length of 100 defined in the program but
a record of 60 bytes getting written into it. i.e. The rest
of 40 bytes I am not Writing anything. But it by default
puts some values into the last 40 bytes. However it does
not impact anything. But when Compiled the module with
Enterprise Cobol the last 40 bytes were spaces as fillers.
Can anyone explain?
Answer Posted / ramanujam
it may be filled with null values. Junk charecters.
Due to before writing data it has to initialize.
That is the reason it is showing junk charecters.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
) how do u code after getting data?
example for sub strings ? and refernce modifications whit output pls
What is report-item in COBOL?
how do you reference the variable unblock file formats from cobol programs
What are declaratives and what are their uses in cobol?
how do you reference the fixed unblock file formats from cobol programs
How do you get the data to code the BMS macro?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
Discuss about changing dataset name in proc.
What is the difference between Call and a Link?
How do we get current date from system with century in COBOL?
What is the use of intialize verb?
What is the utilization of copybook in cobol?
Write a program that uses move corresponding.