Activity for Bharani

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    Got it. Thank you.

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    Hi, Pls help me to understand. If one main program calls multiple sub programs, can we able to find them out and compile them together? Meaning - Can our compiler find it and compile it automatically rather than feeding it manually. I understand that its not possible with dynamic call, but can we able to do it thru static call? Also, can we able to get the static call - sub program list?

  • Bharani Bharani posted a comment on discussion General Discussion and Help Requests

    The test sample given along works fine. Looks like, there are issue with Dot. :)

  • Bharani Bharani posted a comment on discussion General Discussion and Help Requests

    Hi, Could you please help me on generating flowgraph for the cobol program? At first, I compiled all the cobol programs including analyzer.cbl Then, I compiled my program with the command "cobc -x ./PROGRAMS/SEQRPT2.cbl" Then, I gave this command "animator ./PROGRAMS/SEQRPT2.cbl -A -x" I got the message as below: Making CFG..C:\"Program Files (x86)"\"Graphviz2.38"\bin\dot.exe -Tgif -o"TEST gif" -Kdot ./temp/172709.flw Error: ./temp/172709.flw: syntax error in line 5 near '->' 'test.gif' is not recognized...

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    Got it Mike. I was just thinking - whatif there is a paragraph but not called at all. That paragraph may sit forever which is not needed. And, I totally agree with your point that the paragraph does not need to be performed at all. :) Again, thank you so much.

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    Thanks Mike for the clarification and I'm sorry to bother you again. I changed the program to use PERFORM instead of GO TO. Also, I added stop run as you mentioned. But, if you see the code, the TERMINATION is not called at all (no PERFORM statement for TERMINATION) paragraph. So, I was expecting this TERMINATION paragraph and its statements as the 'Unreachable' statements. So, I was just curious about this. Again, thank you. :)

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    Hi.. I have program as like below: identification division. program-id. going. data division. working-storage section. 01 counter pic 9 value 1. procedure division. display counter. PERFORM INITIALIZATION PERFORM PROCESS-ALL GO TO CHECK-RIGHT. display "Why am I even here?". CHECK-RIGHT. display "Jumped to the-bottom". INITIALIZATION. display counter. PROCESS-ALL. display counter. TERMINATION. display counter. READ-PAR. display counter. HEADING-ROUTINE. display counter. I'm getting the compilation...

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    perfect! Thanks Simon. I started using MinGW and it works completely fine.

  • Bharani Bharani posted a comment on discussion GnuCOBOL

    Hi, Please help me on this. I installed Cygwin and tried to execute 'COBC' commands thru that. When, I tried to do that from desktop Cygwin icon, 'COBC' works completely fine. But, If I go to real file location (C:/cygwin/bin/mintty.exe), I'm getting the error message as 'COBC command not found". Could you please help me to understand what am I missing here. Also, I'm trying to execute 'COBC' command thru Python by getting the input from the user. Since, COBC behaves differently (as mentioned above),...

  • Bharani Bharani posted a comment on discussion Open Discussion

    Thanks Kris.. My intend was to create a flowgraph for Cobol program using AST just for my future understanding. Would XML help to builld the flow graph? Pls help me to undestand.

  • Bharani Bharani posted a comment on discussion Open Discussion

    Great! I'll try Kris.. thank you.

  • Bharani Bharani posted a comment on discussion Open Discussion

    Thanks Kris. I found that and it was much helpful. I was wondering If there is anyway I can get the AST in the text format which has only variables with hierachy.. :)

  • Bharani Bharani posted a comment on discussion Open Discussion

    Hi, Please help me on this. I would like to write the AST file into TXT file. Could you please help me on this? It will be helpful If it can be found in the hierarchy model. thanks in advance. Bharani J 11 years with Mainframe new to Java

1