how can u redefine picx(10) with pic 9(6).
Answers were Sorted based on User's Feedback
Answer / sujith
05 WS-TX-REASON PIC X(10).
05 FILLER REDEFINES WS-TX-REASON.
10 WS-TX-NUM PIC 9(06).
10 FILLER PIC X(04).
| Is This Answer Correct ? | 35 Yes | 2 No |
Answer / narasimha reddy.k
05 WS-TX-REASON PIC X(10).
05 WS-TX-NUM REDEFINES WS-TX-REASON PIC 9(06).
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / mehdee
05 WS-TX-REASON PIC X(10).
05 FILLER REDEFINES WS-TX-REASON.
10 WS-TX-NUM PIC X(06).
10 FILLER PIC X(04).
| Is This Answer Correct ? | 7 Yes | 18 No |
Can we change the password using ALTER? anyone tried and changed?
when iam reading a flat file which has 100 records through cobol program when iam reading 50th records it gets abends .. so when i run the program again it should read from 50th record .where it got abened ? how it is possible
consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above
what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?
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 want Display WS-VARX and WS-VARN?
can i use multiple when statements in search & search all ? justify ur answer?
A s9(4). B v9(4) value 0.21 can i move this?
Write a program to concert an Indexed file into Sequential file?
what happens if we wont give timestamp in precompilation process ?
comp-3 field occupy?
Explain the configuration section of a cobol program with examples of syntax.
what is jcl approach for programming?