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
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 |
How to run cobol program using jcl?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
When will we need to specify Space parameter ?
what is use of dsn parameter in dd statement?
Is it possible to left uncode disp? If yes, how?
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
what is static and dynamic call with examples?
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
How to concatenate different LRECL of files?
How to rename a VSAM file as well as it's index file?
Explain the jcl exec statement?
in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?