View previous topic :: View next topic
|
Author |
Message |
jackie
New User
Joined: 29 Dec 2006 Posts: 3 Location: Israel
|
|
|
|
Hi to all
I'll describe my situation first:
I work batch.
Every night I get a file that copied from some open enviroment server to MF.
The file is sequential and of variable length(VB).
The LRECL is every time different, with maximum of 400.
The COBOL program that processes the file gets the fixed length(FB) file as an input.
I am trying to convert the file I get(VB) to fixed length(FB) file.
I tried IEBGener, but I get "Conflicting DCB Parameters" messege.
I tried Syncsort but got ABEND 016 with message of same sense.
Maybe there is some parameter in Syncsort or in Iebgener or any other utility that I can use to solve the situation?
I remind you that I work batch.
Thanks |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Hi Jack,
With sort, there is this:
Quote: |
The CONVERT parameter is used in conjunction with the OUTREC parameter to convert
variable-length records to fixed-length records. |
Need more info?
Bill |
|
Back to top |
|
|
jackie
New User
Joined: 29 Dec 2006 Posts: 3 Location: Israel
|
|
|
|
Hi william
Thanks, I will try it. |
|
Back to top |
|
|
jackie
New User
Joined: 29 Dec 2006 Posts: 3 Location: Israel
|
|
|
|
Eventualy, they found the way to build me a fixed file.
The adviced you gave to me worked.
outrec=(1,200),convert
Thank you William. |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
jackie wrote: |
Thank you William. |
Now that's a nice way to answer to help Should happen more often. Love you for it 'jackie'; makes our efforts worth while. |
|
Back to top |
|
|
|