What is the Importance of GLOBAL clause According to new
standards of COBOL?
Answers were Sorted based on User's Feedback
Answer / ms. stanley
A variable delared as GLOBAL can be used by all its
including and included programs. (By all the subprograms and
the main programs)
| Is This Answer Correct ? | 7 Yes | 2 No |
When any data name, file name, condition name or index defined in an including program can be referenced by a directly or indirectly in an included program, provided the said name has been declared to be a global name by GLOBAL.
Format of global clause is 01 DATA-1 PIC 9(05) IS GLOBAL
| Is This Answer Correct ? | 0 Yes | 0 No |
Read filea And file b write the same records in both files? Records in a but not in b record in b but not in a
where did you see the information regarding abend codes in jcl?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How to read the last 100 records from a COBOL file. The file contains N number of records.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Can we call a CICS program from a batch program or viceversa?If so, how?
What is the difference between Structured COBOL Programming and Object Oriented COBOL ?
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
What is Comm?
2 Answers IBM, Kemper Corporation,
What is IMPACT analysis?