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
 

 

CHANGE anything at a perticular postion

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

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Mon Mar 05, 2007 1:21 pm    Post subject: CHANGE anything at a perticular postion
Reply with quote

With change command i can replace string1 by string2 at perticular position.
e.g. C 'ABC' 'DEF' 30 ALL -> This will replace all ABC by DEF at pos 30

Is there any command that will replace anything in pos 30 to DEF?


i have thousands of records and each record is having different values in pos 30 to 32, like AAA,BBB,CCC etc....

I want to change all these values (pos 30 to 32) to ABC in one go !

Is that possible?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Mar 05, 2007 1:32 pm    Post subject:
Reply with quote

Take a look at the PICTURE option.

O.
Back to top
View user's profile Send private message
hsk

New User


Joined: 28 Nov 2006
Posts: 69
Location: India

PostPosted: Mon Mar 05, 2007 1:45 pm    Post subject:
Reply with quote

Yup .... i tried that .......... that works .... thanks !!!!

Initially i had opened file in FileAid (using F.2), there it was giving me error 'Invalid Numeric Value Specified'

It only works in 3.4 i guess !!
Back to top
View user's profile Send private message
Shrimathi Krishnan

New User


Joined: 19 Apr 2007
Posts: 39
Location: Chennai

PostPosted: Thu Apr 19, 2007 2:19 pm    Post subject: Re: CHANGE anything at a perticular postion
Reply with quote

cAN YOU PLEASE TELL ME HOW TO USE THIS PICTURE OPTIONS???
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Apr 19, 2007 3:24 pm    Post subject:
Reply with quote

The PICTURE option is well documented in the fine manual.

O.
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm


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