Comments (4)
Hello!
We are actively looking into the issues you open! Investigating to understand better what you tried to achieve and adding some DISPLAY commands in the code, using our mainframe compiler I see that the flow is correctly generated and 2000-TEST is performed from 0000-MAIN SECTION. Could you please run the following code and reply with the output? Also, please let us know what compiler are you using.
IDENTIFICATION DIVISION.
PROGRAM-ID. HLLOWRLD
DATA DIVISION.
WORKING-STORAGE SECTION.
01 USRNAME PIC X(10).
PROCEDURE DIVISION.
0000-MAIN SECTION.
PERFORM 1000-GET-NAME
PERFORM 2000-TEST
DISPLAY 'HELLO 'USRNAME
GOBACK
.
1000-GET-NAME SECTION.
ACCEPT USRNAME.
PERFORM 1000-EXIT.
DISPLAY 'FROM 1000-GET_NAME'.
PERFORM 2000-TEST.
1000-EXIT.
EXIT.
2000-TEST SECTION.
DISPLAY 'FROM 2000-TEST-SECTION'.
PERFORM 2000-EXIT.
2000-EXIT.
EXIT.
from cobol-control-flow.
The output is:
FROM 1000-GET_NAME
FROM 2000-TEST-SECTION
FROM 2000-TEST-SECTION
HELLO USRNAME
Note: USRNAME was replaced by the input from the Accept
We are using IBM Enterprise COBOL Version 6.1
from cobol-control-flow.
Thus, this was a mistake on my part, and the graph above is actually correct. I was under the assumption an exit was supposed to exit from the section.
from cobol-control-flow.
Thank you for your reply! I will proceed and close this issue, please feel free to reopen another issue if encountered.
from cobol-control-flow.
Related Issues (20)
- The graph loses focus once the tab is moved at the bottom HOT 1
- ECCF0002: Flow can be generated only for ... HOT 1
- Flow is generated but not for all HOT 2
- Failed to load active editor HOT 2
- Consider EXEC CICS RETURN as end of program HOT 2
- Support for nested program HOT 1
- CCF issue with Gen/Cobol HOT 2
- Always try to generate a graph regardless the file extension HOT 1
- One program section is not displayed HOT 1
- "exit section" is a statement, not a section label HOT 2
- Disable CCF graph generation for single copybook files HOT 1
- support EXEC CICS HANDLE AID
- EXIT SECTION causes graph to end instead of continue. HOT 1
- Differing Graph based on SECTION HOT 2
- Support 'GOBACK' statement HOT 2
- Support for "exit paragraph" statement HOT 2
- Support for a Ligth Theme in CCF
- Export CCF Graph to JSON - Missing menu? HOT 1
- Allow to exclude certain elements from the graph HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobol-control-flow.