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

What is a Dummy Utility and what it does ?

3 Answers  


For how long a job can be executed continuously in a mainframe ?

4 Answers  


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


What are the basic JCL Statements for a Job?

1 Answers  


I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?

2 Answers   IBM,






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

0 Answers  


How is the keyword DUMMY used in JCL?

4 Answers  


Explain about LMCOPY -

1 Answers  


What is the difference between BLKSIZE and LRECL?

3 Answers  


how to create gdg with out using idcams utility

8 Answers   DSRC,


What does the one advantange of using IEBUPDTE?????

2 Answers  


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


Categories