Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


Iebgener or Syncsort

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DFSORT , ICETOOL & Utilities
  View previous topic :: View next topic  
Author Message
jackie
Member


Joined: 29 Dec 2006
Posts: 3
Location: Israel

PostPosted: Fri Dec 29, 2006 5:51 pm    Post subject: Iebgener or Syncsort 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
_________________
Jack
Back to top
View user's profile Send private message MSN Messenger

Veera
Moderator


Joined: 22 Feb 2006
Posts: 111

PostPosted: Thu Jan 04, 2007 4:41 am    Post subject: File conversion VB TO FB using ICETOOL. Reply with quote

Hi

What i understand from your query is

I am trying to convert the file I get(VB) to fixed length(FB) file

We can convert a file from VB TO FB using ICETOOL.

Find below the code for the same.

//SORTTEST JOB (,),'SORT FILE',MSGCLASS=T,
// CLASS=S, NOTIFY=&SYSUID
//STEP0001 EXEC PGM=ICETOOL
//DFSMSG DD SYSOUT=*
//TOOLMSG DD SYSOUT=*
//TOOLIN DD *
COPY FROM (IN1) TO (OUT) USING (ICE0)
//IN1 DD DSN=Input file, DISP=SHR
//OUT DD DSN=Outfile,
// DISP=(NEW,CATLG,CATLG),
// UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE),
// DCB=(RECFM=FB,LRECL=9)
//*
//ICE0CNTL DD *
OUTFIL FNAMES=OUT, VTOF,
OUTREC=(1:5,9)

Note : Here i have used outrec as per my requiremnt , we can change as per our requirement.

Thanks
Veera.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> DFSORT , ICETOOL & Utilities All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts attributes of one SMS dataset be copied to another dataset ? 1 Krishna 1010 Tue May 12, 2009 6:32 pm
Krishna View latest post
No new posts Copy records for matching key appearing at different places. 4 rangab 1666 Tue Feb 03, 2009 11:36 pm
rangab View latest post
No new posts Different forms of Case -when (loop handling) in Eazytrieve 2 Avani 4336 Thu Apr 05, 2007 8:25 pm
Veera View latest post
No new posts Reg: Different operating systems in mainframes 1 156138 2241 Wed Sep 20, 2006 12:21 pm
Krishna View latest post
No new posts What are all the COBOL compilers available? 4 Sweetu 5811 Fri Aug 25, 2006 12:59 pm
agkshirsagar View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB