IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Move a string from one column to another column using rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
N.SUDHA
Warnings : 1

New User


Joined: 06 Feb 2006
Posts: 8

PostPosted: Thu Feb 16, 2006 3:31 pm
Reply with quote

how to move a string from one column to another column using rexx
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 16, 2006 3:54 pm
Reply with quote

What do you mean by 'column' ? Do you mean DB2 columns ? Data columns shown in ISPF editor ?

O.
Back to top
View user's profile Send private message
N.SUDHA
Warnings : 1

New User


Joined: 06 Feb 2006
Posts: 8

PostPosted: Thu Feb 16, 2006 4:29 pm
Reply with quote

how to move all picin statements of cobol program to 48th column using rexx
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 16, 2006 4:34 pm
Reply with quote

2 Options:

1) Read the member line by line using EXECIO.

2) Write an edit-macro to do the job. It won't be easy, as you have to (1) find the PIC position in the line; (2) make sure that there is nothing in the 48th column; (3) insert the desired number of blank.

Enjoy

O.
Back to top
View user's profile Send private message
N.SUDHA
Warnings : 1

New User


Joined: 06 Feb 2006
Posts: 8

PostPosted: Thu Feb 16, 2006 4:44 pm
Reply with quote

give me a sample program for the above work
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 16, 2006 5:55 pm
Reply with quote

No problem. My rate is 80$ for an hour, and I estimate the work, including test, in 3 hours. I accept Visa, Mastercard or directly through PayPal.

When do you want me to start ?

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Running REXX through JOB CLIST & REXX 13
Search our Forums:

Back to Top