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

Job to update 1000 members in a PDS with same line of code


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

New User


Joined: 02 Feb 2007
Posts: 10
Location: chennai

PostPosted: Tue Nov 25, 2008 4:30 am
Reply with quote

Hi,
I have to update some 1000 members in a PDS with the same line of code. Can somebody suggest me how I can write a Job/JCL to update all the members at one go.
Your co-operation will be highly appreciated.

Mustafa Amani
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Nov 25, 2008 4:46 am
Reply with quote

Hi,

You need to explain your problem in a better manner - when you say update, does that mean

1. Appending "some fields" in start of the records starting from "position 1".
2. Appending "some fields" in last of the records starting from "position 1".
3. Appending "some fields" at some specific position.
4. or do you want to upadte some existing field- if yes what's the position of string to be changed. what needs to changed with what ?

Show some sample input & expected output.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Nov 25, 2008 4:55 am
Reply with quote

IEBUPDTE or IPOUPDTE will probably be what you need.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Nov 25, 2008 5:18 am
Reply with quote

Hi,

you can also use FILEAID.



Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Nov 25, 2008 12:22 pm
Reply with quote

And there are some examples of inserting / deleting lines using ISPF edit macros.

But until we actually know what you want to do, to answer your question is all guesswork.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Nov 25, 2008 9:20 pm
Reply with quote

Hello,

It will help us help you if you post 2 small sample members as they are before your process and what they should contain after your process runs.
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 run rexx code with jcl CLIST & REXX 15
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top