How can we know that cobol program is using report file or
simple file....?
Answers were Sorted based on User's Feedback
Answer / bobby
Report Composer uses the AFTER ADVANCING phrase.
There is also a compiler option ADV/NOADV which tells that
this is report file.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ashok
In addition to answer #1, if you want identify that by
looking at the JCL, then file format of FBA or VBA also
means that its a report file.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jagan
Ashok, do we have a variable block attribute for a REPORT
file. As far as i have heard there is only FBA for a REPORT
file.
Is This Answer Correct ? | 0 Yes | 1 No |
If the program uses the simple file then the statement used
to write into that is "WRITE REC-NAME".
If the program uses the report file then the statement used
to write into that is "GENERATE REC-NAME".
Is This Answer Correct ? | 0 Yes | 2 No |
What are the ways you can generate a copybook?
What is the use of EVALUATE statement?
If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.
Whats the use of Examine command? can someone help me?
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
What is the difference between structured cobol programming and object alternativelyiented cobol?
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Using string statement.Is coding three destination string from one source string possible in one code?or three codes for every destination string of one source string.?thank you
consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
give the examples for strings and unstrings in cobol
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases