Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Changing file record organization.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jackie

New User


Joined: 29 Dec 2006
Posts: 3
Location: Israel

PostPosted: Sat Dec 30, 2006 8:50 pm    Post subject: Changing file record organization.
Reply with quote

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
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Dec 30, 2006 9:16 pm    Post subject:
Reply with quote

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
View user's profile Send private message
jackie

New User


Joined: 29 Dec 2006
Posts: 3
Location: Israel

PostPosted: Sat Dec 30, 2006 11:23 pm    Post subject:
Reply with quote

Hi william

Thanks, I will try it.
Back to top
View user's profile Send private message
jackie

New User


Joined: 29 Dec 2006
Posts: 3
Location: Israel

PostPosted: Wed Jan 03, 2007 12:59 am    Post subject:
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Jan 03, 2007 1:56 am    Post subject:
Reply with quote

jackie wrote:
Thank you William.


Now that's a nice way to answer to help icon_lol.gif Should happen more often. Love you for it 'jackie'; makes our efforts worth while.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us