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: 4649
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 UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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