i have mainprogram and subgram...if i compile mainprogram
without stop run..what will u get in compilation time?
Answers were Sorted based on User's Feedback
Answer / manoj
Job will neither abend nor go in infinite loop. It will give unpredicted results as it will executes all the codes line by line till the end.
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / pramod reddy
The pgm will take max. time to compile..
it will get S322 abend...
| Is This Answer Correct ? | 0 Yes | 5 No |
wht r the advantages of 77 level number ?
can we print comp 3 stmts how ?
What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
where do we use dyanamic call ? and where do we use static call pls give any example pls ?
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
SIGN TRAILING SEPARATE field occupy ?
In an EVALUTE statement is the order of the WHEN clauses significant?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code
In COBOL "BEFORE" advancing is there or not ?