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 |
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What dd statement is used to supply the name of a dataset?
I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero
What does the statements: typrun=scan and typrun=hold do in a JCL statement
Can we use empty VSAM as input?
How can unused space allocation be returned to the system when a dataset is closed?
How do you overcome this limitation ?
Can an individual step be restricted from using all the jobs allowed cpu time?