On Thu, 7 Aug 2008 15:36:53 +0530, Rahul Karsija wrote: >I need to convert a dataset from RECFM=UA to RECFM=FB. I tried to copy it
"Convert" is pretty vague. Is this problem well-posed? What do you envision as the LRECL and BLKSIZE of the output data set? I've never encountered RECFM=UA; what created the data set? What expects to use the converted data set? >using IDCAMS but was unsuccessful. I also wrote a small program to read the >input records and then write them to output file but that did not work What language? Be more specific about "did not work". >either. Using SORT with OPTION COPY was also not helpful, got message - >ICE043A 3 INVALID DATA SET ATTRIBUTES SPECIFIED SORTIN RECFM > >Given below are the parameters of the input file - >Organization . . . : PS >Record format . . . : UA >Record length . . . : 133 >Block size . . . . : 101 >1st extent cylinders: 1 >Secondary cylinders : 50 > >Have also tried using IBM TRSMAIN (first PACK and then UNPACK) but that also >creates the final output file as UA. > I've done similar with Rexx under ISPF, processing individual records with LMGET and LMPUT (IIRC). -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

