Hi..
I just want to replace a COLUMN of dataset by another COLUMN of dataset and put in another ps using rexx...
Thanks,
Parthiban j
Replace a COLUMN of dataset by another COLUMN of dataset
-
- Posts: 66
- Joined: Mon Oct 20, 2008 7:54 pm
- Skillset: REXX,JCL,RACF
- Referer: Google
- Location: Bangalore-India
- Contact:
Replace a COLUMN of dataset by another COLUMN of dataset
Parthiban jayaraman
mainframe rexxer,
Banglore
mainframe rexxer,
Banglore
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: rexx
Hello,
It will probably help if you post some "input" and the "output" you want from that input.
Most often, this type of work is better done using the sort or some other utility (like FileAid), rather than rexx.
It will probably help if you post some "input" and the "output" you want from that input.
Most often, this type of work is better done using the sort or some other utility (like FileAid), rather than rexx.
Hope this helps,
d.sch.
d.sch.
Re: rexx
Hello,
For replacing data in strings, you can make use of the OVERLAY function in REXX
The syntax is
OVERLAY('source string', 'target string', start pos, end pos)
You need to read each line of record till EOF and replace the data on each read by OVERLAY function
Hope this helps.
Thanks
Chidam
For replacing data in strings, you can make use of the OVERLAY function in REXX
The syntax is
OVERLAY('source string', 'target string', start pos, end pos)
You need to read each line of record till EOF and replace the data on each read by OVERLAY function
Hope this helps.
Thanks
Chidam
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3
- 1874
-
by willy jensen
View the latest post
Fri Mar 04, 2022 12:50 pm
-
- 12
- 3952
-
by RalphEagle
View the latest post
Fri Jul 30, 2021 1:00 pm
-
- 2
- 2765
-
by willy jensen
View the latest post
Sat Mar 04, 2023 12:41 pm
-
- 3
- 2748
-
by sergeyken
View the latest post
Sat Nov 16, 2024 11:05 pm
-
- 1
- 1270
-
by sergeyken
View the latest post
Wed Feb 07, 2024 11:48 pm