A file has dta in S9(09) COMP format. How do I move the
data into a character field X(10)?

Answers were Sorted based on User's Feedback



A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?..

Answer / shaik

COMP is a binary format, if you directly redefines, it
won't give proper value. So, move S9(09) COMP to s9(09)
Numeric field, then Redefine this field with Alphanumeric.

Is This Answer Correct ?    5 Yes 1 No

A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?..

Answer / dineshj

you do redefine for S9(09) COMP format

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More JCL Interview Questions

I have a input file. Data like: ABCDEFGH.... i want out put file like AB BC CD DE....How can do this??

7 Answers   UST,


what JCL Procedures?

0 Answers  


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

0 Answers  


Explain the jcl exec statement?

0 Answers  


Are there any set of rules for the names of the steps used in a job?

0 Answers  






Is automatic restart possible in jcl?

0 Answers  


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


what is a null indicator in db2?

5 Answers   Fiserv, IBM,


Explain about Internal Sort

1 Answers  


how do u define a file in cobol and jcl ?

2 Answers   TCS,


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


how would you create a temporary dataset? And where will you use them?

0 Answers  


Categories