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 

How to initialize the file in JCL

 
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
Nithisha
Beginner


Joined: 27 May 2006
Posts: 23
Topics: 13
Location: Pune

PostPosted: Wed Feb 03, 2010 4:06 am    Post subject: How to initialize the file in JCL Reply with quote

Hi Can anyone give me solution to initialize the data thru JCL not using the cobol.

Thanks in advance
Nithisha
Back to top
View user's profile Send private message AIM Address
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Wed Feb 03, 2010 5:15 am    Post subject: Reply with quote

Any particular type of file ?
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Wed Feb 03, 2010 8:29 am    Post subject: Reply with quote

Please define what you mean by "initialize". Create a file with no records? As asked earlier, if a file, what is its organization? Does the file exist before you want it intialized?
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Feb 03, 2010 2:39 pm    Post subject: Reply with quote

If you explain what you would do with COBOL, someone may be able to offer an alternative using some utility. . .

It cannot be done "with JCL" alone.
_________________
All the best,

di
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Thu Feb 04, 2010 9:37 am    Post subject: Reply with quote

On the other hand, I'd like to believe you mean "initialize" (what COBOL does with it's INITIALIZE verb) and not an "empty" file with a proper "eof"?
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
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