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

how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


Explain about ISPFTTRC

1 Answers  


how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.

6 Answers   Syntel, UHG,


What you mean by skeleton JCl?

2 Answers  


i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap

2 Answers   IBM, TetraSoft,






how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?

1 Answers  


How to send data from cobol program to jcl?

2 Answers   CSC,


Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,


what are the symbolic parameters? why do we use symbolic parameters ?

2 Answers   IBM, TCS, UST, Xansa,


suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?

5 Answers  


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


whats the difference between empty and noempty of GDG?

4 Answers   Patni,


Categories