No. Neither COBOL nor RMS "know" the data type on disk, so they can't do any conversions for you. I think Fortran had a mechanism to tell the compiler to do an on-the-fly conversion of specified fields, but I'm sure you don't want to rewrite everything in Fortran. Fr...
(field.dataType==LongType||field.dataType==IntegerType||field.dataType==ShortType) { println(s"Cast${field.name}to decimal($precision,0)") col(field.name).cast(DecimalType(precision,0)).as(field.name) }else{ col(field.name) } }else{ col(field.name) } }valdfNew=df.select(columns...
Yes. But zero is treated special, in more ways than one. 0 Kudos Reply John Gillings Honored Contributor 12-19-2011 12:56 PM Re: Compiler Options and COMP values on Disk Homer, No. Neither COBOL nor RMS "know" the data type on disk, so they can't do any conversions ...
No. Neither COBOL nor RMS "know" the data type on disk, so they can't do any conversions for you. I think Fortran had a mechanism to tell the compiler to do an on-the-fly conversion of specified fields, but I'm sure you don't want to rewrite everything in Fortran. Fr...