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 

updating many members of a PDS at a time

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


Joined: 27 Nov 2005
Posts: 27
Topics: 14

PostPosted: Wed Aug 23, 2006 2:31 am    Post subject: updating many members of a PDS at a time Reply with quote

Hi everybody,
I want to update two or more members of a PDS simultaneouly. Application program is written in COBOL. How can I do so. Please advice me.

TIA,
Ranjit Kumar
_________________
One should move lightly through the life, carrying no excess baggage.
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Wed Aug 23, 2006 5:44 am    Post subject: Reply with quote

Can your program write simultaneously to 2 different files?

If you want to update the two member one after anoter, within the same program, you can:
1. Allocate each member to a different file, and process them one after another.
2. Use ISPF services like LMMPUT, LMMGET etc.
3. Convert your program to an Edit-Macro.
4. Use tools/utilities from within COBOL.

O.
________
go-away-spammer-sucker GERMAN


Last edited by ofer71 on Thu Mar 17, 2011 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


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

PostPosted: Wed Aug 23, 2006 8:27 am    Post subject: Reply with quote

ranjit5311,

Check this link which shows an example of reading a PDS in cobol

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

Hope this helps...

Cheers

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