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
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm


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