how can u redefine picx(10) with pic 9(6).

Answers were Sorted based on User's Feedback



how can u redefine picx(10) with pic 9(6)...

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

how can u redefine picx(10) with pic 9(6)...

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

how can u redefine picx(10) with pic 9(6)...

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

Post New Answer

More COBOL Interview Questions

Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

0 Answers  


How to increase the logical record length of existing PS file?

7 Answers  


How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?

3 Answers   Patni,


How to pass return codes from cobol to jcl?

5 Answers  






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

3 Answers  


What is COMP SYNC?

3 Answers  


What does the INITIALIZE verb do?

1 Answers  


What is rmode(24)

0 Answers  


consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end

3 Answers   TCS,


How to read a 100 record from a file through cobol?

2 Answers  


Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


Categories