Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us