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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of //cntl statement?

659


Can we call instream to catalog and catalog to instream?

685


What parameter of the job statement is used to limit the cpu time consumed by the job?

840


What is use of restart and how to use it?

771


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

606






What parameter directs the output of the job log dataset?

766


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

939


What is the function of the dd avgrec keyword in sms datasets?

841


Explain about ISPF/TSO Commands

1313


What is the purpose of dd * statement in jcl?

812


What are the utility programs in jcl?

648


What are some jcl statements that are not allowed in procedures?

728


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

800


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1808


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

612