Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Job to update 1000 members in a PDS with same line of code
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

Senior Member


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

PostPosted: Tue Nov 25, 2008 4:46 am    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Nov 25, 2008 4:55 am    Post subject: Reply to: Job to update 1000 members in a PDS with same line
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: 1703
Location: Australia

PostPosted: Tue Nov 25, 2008 5:18 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 25, 2008 12:22 pm    Post subject:
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

Site Director


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

PostPosted: Tue Nov 25, 2008 9:20 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us