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
 

 

Change Certain values in Cobol Program with REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
rajiv_garg_mba

New User


Joined: 10 May 2005
Posts: 4

PostPosted: Sat Oct 08, 2005 4:04 pm    Post subject: Change Certain values in Cobol Program with REXX
Reply with quote

I have a COBOL Program. The PIC of many variables include PIC 9(6). I want to find all those variables and change PIC 9(6) to PIC X(6). Can someone tell me how can i do that using REXX and is there some other way of doing this.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Oct 10, 2005 10:33 pm    Post subject: Re: Change Certain values in Cobol Program with REXX
Reply with quote

Rajiv,

same topic ...two different forums.....why so....

http://ibmmainframes.com/viewtopic.php?t=6204

Regards,

Priyesh.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Oct 10, 2005 10:54 pm    Post subject:
Reply with quote

I suppose that the definition of the field can be in the source library and in copy... and that this variable has an unique identification across the different programs(really important).

After this you must export a list of member and library, and so, but only in this moment, you will able to change your string.

Before the substitution is fundamental to know how the programs that you will find works because this kind of change is really delicate for all the procedure/pgms that are using the same file.

Substantially you need an impact analysis.

After this, if you need a sample I will give you, but check all the condition.
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 Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm


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