Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Move a string from one column to another column using rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
N.SUDHA
Warnings : 1

New User


Joined: 06 Feb 2006
Posts: 8

PostPosted: Thu Feb 16, 2006 3:31 pm    Post subject: Move a string from one column to another column using rexx
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
References
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2039
Location: Israel

PostPosted: Thu Feb 16, 2006 3:54 pm    Post subject:
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    Post subject:
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: 2039
Location: Israel

PostPosted: Thu Feb 16, 2006 4:34 pm    Post subject:
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    Post subject:
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: 2039
Location: Israel

PostPosted: Thu Feb 16, 2006 5:55 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1