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

How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.

2 Answers   IBM,


why occurs clause not mentioned in 01 level

6 Answers   HCL, NIIT, TCS, Tesco,


Can anyone tell me how to handle the array beyond the limit. If we have an array or a table which can handle 5000 records but now we have to compensate 20000 records with the same array? how to handle the situation.

2 Answers  


Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?

2 Answers   Cap Gemini,


What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,






A LESS 1200 IF B GREATER 25 MOVE 47 TOC ELSE MOVE 57 TO C IF A GREATER 249 MOVE 67 TO C ELSE NEXT SENTENCE ELSE IF B LESS 67 MOVE 27 TO C What will be the value of C, when A is 137 and b is 25

3 Answers   TCS,


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 Answers  


why 02 level number can't be use as a separate level number like 01 or 77 ?

3 Answers  


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

0 Answers  


How do you sort in a COBOL program? Give sort file definition, sort statement syntax and meaning.

7 Answers   CGI, TCS,


Categories