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
 
need to Change the column value

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
jmreddymca
Warnings : 1

New User


Joined: 14 Oct 2007
Posts: 29
Location: Bangalore

PostPosted: Fri Nov 02, 2007 10:56 am    Post subject: need to Change the column value
Reply with quote

Good morning friends,
i have 1 file which is having many fields. in that 3rd field lenth is 10bytes
i want to change the 1 digit value to some no.

ex - 507xxxxxxx
462xxxxxxx
836xxxxxxx

i want change 1st position of all the no to 1 i.e
107xxxxxxx
162xxxxxxx
137xxxxxxx

is there any commadn plz suggest me.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 02, 2007 11:25 am    Post subject:
Reply with quote

Reddy,

Your IP and OP length is different (10 & 11). You want to change the file lrecl also?
Back to top
View user's profile Send private message
jmreddymca
Warnings : 1

New User


Joined: 14 Oct 2007
Posts: 29
Location: Bangalore

PostPosted: Fri Nov 02, 2007 11:48 am    Post subject: hi
Reply with quote

no murali
just assume i have 1 file.i want to edit a particular field.

ex- fld3
r1-3214x
r2-7124x
r3-4144x

i want update this file into

ex- fld3
r1-1214x
r2-1124x
r3-1144x

here i have changed all the 1st col value to 1 by manually.in case if i have millions of recs.what to do????
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: Fri Nov 02, 2007 7:33 pm    Post subject:
Reply with quote

Hello,

In tso/ispf, edit your data, key
Code:
c all p'=' '7' 50 
and press enter.

A seven will be placed in pos 50 in all records. Change the 7 to whatever value you want and change the 50 to whatever position you want.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cannot change DATACLAS on DFSMSdss re... Alan Playford JCL & VSAM 11 Tue May 01, 2018 6:43 pm
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm

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