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
 

 

VB input files copying to FB out file

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

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Tue Jan 24, 2012 10:32 pm    Post subject: VB input files copying to FB out file
Reply with quote

I was trying to copy two VB input files to a FB output file using IDCAMS.
I am getting the SYSPRINT message IEB311I CONFLICTING DCB PARAMETERS
Code:
//STEP040   EXEC PGM=IEBGENER                       
//SYSOUT    DD SYSOUT=*                             
//SYSUT1   DD DSN=A931.VARI.BLOC,DISP=SHR         
//          DD DSN=A931.VARI.BLOC1,DISP=SHR       
//SYSUT2   DD DSN=A931.VARI.FIX.OUT,DISP=NEW,     
//            DCB=(RECFM=FB,LRECL=60,BLKSIZE=6000) 
//SYSPRINT  DD SYSOUT=*                             
//SYSIN     DD  DUMMY                               
/*                                                 


First input file is 27 chars LRECL and second one is 35 chars. SYSUT2 file is 60 characters but FB. Can some one tell why DCB parameters are conflicting. Thanks in advance.
Back to top
View user's profile Send private message

Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1537
Location: Andromeda Galaxy

PostPosted: Tue Jan 24, 2012 10:36 pm    Post subject:
Reply with quote

Please look into

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M751/SPTM008141
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Tue Jan 24, 2012 10:47 pm    Post subject:
Reply with quote

Hi Prem

Thanks. So this means that IEBGENER can only be used to copy datasets with same DCB parameters of SYSUT1 and SYSUT2 ? ie., VB to VB only and FB to FB only copy can be done.... VB to FB cannot be done using IEBGENER ?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1825
Location: UK

PostPosted: Wed Jan 25, 2012 3:21 am    Post subject:
Reply with quote

Why not read the IEBGENER section of the utilities manual and look at the examples?
Back to top
View user's profile Send private message
Chiranjeevi9

New User


Joined: 14 Dec 2011
Posts: 11
Location: India

PostPosted: Wed Jan 25, 2012 10:23 am    Post subject:
Reply with quote

The solution for this is, you have to use SORT, converting the VB to FB.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 25, 2012 1:36 pm    Post subject:
Reply with quote

You DON'T have to use sort, however it probably is the most efficient method.
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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