MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

merging of two files

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
pradeepa
Beginner


Joined: 30 May 2005
Posts: 3
Topics: 2

PostPosted: Tue Aug 21, 2007 9:05 pm    Post subject: merging of two files Reply with quote

Hi,

I have to merge two files, some times one of the file is empty and the Job abends, how do I resolve this?

if some one knows, Please reply ASAP.

Thanks
Back to top
View user's profile Send private message
jyoung
Beginner


Joined: 10 Nov 2005
Posts: 36
Topics: 2
Location: Flint, MI

PostPosted: Wed Aug 22, 2007 6:20 am    Post subject: Reply with quote

How are you currently merging the files? A sample would help.
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Aug 22, 2007 11:28 am    Post subject: Reply with quote

And has the empty file been opened and closed. If it was crrated by IEFBR14 or simply a JCL allocation but has not otherwise been accessed it will have no End Of File (EOF) marker and this will lead to an error. Not only 'how are you merging your files' but also - what is your error SPECIFICALLY?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Wed Aug 22, 2007 12:14 pm    Post subject: Reply with quote

Quote:

If it was crrated by IEFBR14 or simply a JCL allocation but has not otherwise been accessed it will have no End Of File (EOF) marker and this will lead to an error.

Nic Clouston,

IEFBR14 sets the EOF MARK for SMS managed datasets. Here is the link to a discussion about it

http://www.mvsforums.com/helpboards/viewtopic.php?p=6033#6033

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Thu Aug 23, 2007 12:26 pm    Post subject: Reply with quote

Hi Kolusu

Thanks for the link - that was way back when I was out of work too!

So, what I must do is find out if they rewrote IEFBR14 to do more than just end or whether there is something in SMS which goes and puts the EOF on the disk. A little task for tomorrow.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Aug 23, 2007 7:13 pm    Post subject: Reply with quote

Quote:

So, what I must do is find out if they rewrote IEFBR14 to do more than just end or whether there is something in SMS which goes and puts the EOF on the disk. A little task for tomorrow.

Nic Clouston,

IEFBR14 hasn't changed a bit. SMS does the EOF marking.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group