What will happen if a variable is declared as below..
Explain with an example? Working storage section:-
01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.
What will happen I am going to Display the WS-VARX and WS-
VARN?
Answer Posted / siva
WS-VARX = 12345FGHIJ
WS-VARN = 12345
| Is This Answer Correct ? | 1 Yes | 14 No |
Post New Answer View All Answers
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How do you reference the fixed block file formats from cobol programs
What are the access modes of START statement?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What are all the divisions of a COBOL program?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
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
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to know whether the module is dynamical or statistical?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Describe the cobol database components?