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
 

 

Move a string from one column to another column using rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    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

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
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: 2360
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: 2360
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


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