IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IEBGENER Step to create a Dummy (empty) VB file need Help


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subramanianup
Warnings : 1

New User


Joined: 18 May 2005
Posts: 46
Location: Bangalore, INDIA

PostPosted: Thu Feb 12, 2009 11:20 pm
Reply with quote

Hi,
I need create a Dummy (empty) VB file with a LRECL that matches the max LRECL among all the VB files using IEBGENER Utility. Could you please give some solution

Thanks
Subbu
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Feb 12, 2009 11:23 pm
Reply with quote

IEBGENER is used for copying PS datasets.

How can you create an empty dataset?

Please explain or I'm wrong.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Feb 12, 2009 11:46 pm
Reply with quote

Look at the IEBGENER (Sequential Copy/Generate Data Set) Program in the utilities manual.
Set whatever allocation or recfm you want with the SYSUT2 DD statement and dummy up or point to an empty dataset with the SYSUT1 DD statement....
There are some examples in the manual.
Back to top
View user's profile Send private message
subramanianup
Warnings : 1

New User


Joined: 18 May 2005
Posts: 46
Location: Bangalore, INDIA

PostPosted: Fri Feb 13, 2009 9:49 am
Reply with quote

Thanks CICS Guy
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Feb 13, 2009 12:28 pm
Reply with quote

Gnanas N wrote:
IEBGENER is used for copying PS datasets.
How can you create an empty dataset?
Please explain or I'm wrong.

What do you call a dataset which has no data in it - empty.

use SYSUT1 as a DD DUMMY, et voila, an empty SYSUT2 dataset.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top