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

in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?

5 Answers   ADP,


i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?

4 Answers   DELL,


wht do u mean by internal reader in jcl ? wht is the use of internal reader ?

1 Answers   Syntel,


What does a disposition of (new,catlg,keep) for a dsn mean?

0 Answers  


What is a GDG

4 Answers   IBM,






COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT 0 and if we dont give COND, will step2 be executed ?

4 Answers   IBM,


ihave ten flatfile in that iwant to concatinate all the files except file 5,6 into output file by uing jcl? how to do this? give me detail yntax for tis?

4 Answers   IBM,


can we maintain 2 generations with different Lengths in Same GDG ?

3 Answers   RBS,


In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?

1 Answers  


What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?

2 Answers   Patni,


What is the syntax of JCL statement?

0 Answers  


How is the keyword DUMMY used in JCL?

4 Answers  


Categories