- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Copy statement in Cobol
Operating System - OpenVMS
1752795
Members
5815
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 05:03 AM
тАО03-04-2008 05:03 AM
Re: Copy statement in Cobol
He's correct. All IDENTIFIERS are replaced. Not all STRINGS.
If you can't change the rapclodt copymember you will not be able to solve this case.
And if you do change it, you will need to add "replacing ==(X)== by ==RAPCLODT==" where there is no replacing clause.
Wim
If you can't change the rapclodt copymember you will not be able to solve this case.
And if you do change it, you will need to add "replacing ==(X)== by ==RAPCLODT==" where there is no replacing clause.
Wim
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 03:14 PM
тАО03-04-2008 03:14 PM
Re: Copy statement in Cobol
MVS is another country
they do thing differently there
The compiler will tell you about any ambiguity in variable names
01 RAP-IN.
05 RAPCLODT-DB-AREA PIC S9(04) COMP.
05 RAPCLODT-DB-RAP PIC X(06).
05 RAPCLODT-ACCT-KEY.
01 RAP-OUT.
05 RAPCLODT-DB-AREA PIC S9(04) COMP.
05 RAPCLODT-DB-RAP PIC X(06).
05 RAPCLODT-ACCT-KEY.
MOVE RAPCLODT-ACCT-KEY TO.
will be flagged by the compiler as an error
MOVE RAPCLODT-ACCT-KEY OF RAP-IN
TO RAPCLODT-ACCT-KEY OF RAP-OUT.
will work
Phil
they do thing differently there
The compiler will tell you about any ambiguity in variable names
01 RAP-IN.
05 RAPCLODT-DB-AREA PIC S9(04) COMP.
05 RAPCLODT-DB-RAP PIC X(06).
05 RAPCLODT-ACCT-KEY.
01 RAP-OUT.
05 RAPCLODT-DB-AREA PIC S9(04) COMP.
05 RAPCLODT-DB-RAP PIC X(06).
05 RAPCLODT-ACCT-KEY.
MOVE RAPCLODT-ACCT-KEY TO
will be flagged by the compiler as an error
MOVE RAPCLODT-ACCT-KEY OF RAP-IN
TO RAPCLODT-ACCT-KEY OF RAP-OUT.
will work
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2008 07:21 PM
тАО03-04-2008 07:21 PM
Re: Copy statement in Cobol
thanks phil.. ur reply was useful.
karthikeyan
karthikeyan
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP