01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Answers were Sorted based on User's Feedback
01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
State the various causes of s0c1, s0c5 and s0c7.
How can you add a particular field/coloumn in copybook?
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.
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
1.What is the default print format in cobol?
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
What is Static and Dynamic linking ?
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
How is sign stored in a COMP field ?
What are the different open modes available in cobol?
in real time what is the suitable exp where in-stream procedure is better then catalog procedure.