RE: Cobol consuming webservice
There is actually an easier method of creating a COBOL client from a WSDL/JSON file when using the Eclipse IDE. If you navigate to Run-->Tools from the IDE menu you will see the options for Generate...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
This may be OS dependent. I just tested here under Windows 7 using a managed console program compiled in 2.3.2 and I get the . and .. directories returned. Because it is managed code I also get the...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
Sorry. Windows 7 SP 1, VCVS 2013 2.3.2, COBOL Managed Procedural Multi-Output Project, console application, .NET 4.5.The pattern-content for the CBL_DIR_SCAN_START call contains the path to the...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
My program does the same thing. I use "c:\temp\*" as my search string.If I set the flags to 1 I get only the filenames.If I set flags to 2 or 3 then the following will be returned:native...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
Thank you, I've found the difference. We set pattern-length to the length (in bytes) of pattern-text and we don't null-terminate the character string in pattern-text prior to calling _START.I modified...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
I am still seeing the identical behavior whether I null terminate the string or set the length explicitly. Are you sure you are setting the length correctly?If I change my sample program to use:...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
Try setting pattern-len to 256.I see where the documentation says "Length of pattern string in the pattern-content field." But it also says "You can set pattern-length to less than the length of the...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
The length field in CBL_DIR_SCAN_START is definitely supposed to reflect the actual size of the search string text itself and not the max length of the field. You can set this to any value up to the...
View ArticleConfirm native vs managed CBL_DIR_SCAN_READ behavior?
In native COBOL since at least Net Express 3.0 through VC 2.3.2, the first two calls to CBL_DIR_SCAN_READ after a call to CBL_DIR_SCAN_START will return file names "." and ".." respectively. In VC...
View ArticleRE: Compilation Error
do not use the word giving before ws-ret-code. Fill the ws-ret-code in your subprogram and you will become the result in you calling program!
View ArticleRE: Compilation Error
Hello Greiner,This piece of code is from sub program itself.PROCEDURE DIVISION USING KCT-ID-IN, IGN-IND-IN, WS-CODE-AFK, WS-REDEN-AFK,SQLCA, ORACAGIVING WS-RET-CODE.Thank you,Ramesh
View ArticleRE: Compilation Error
Please raise a support incident with Customer Care as there is definitely a difference in behavior between NX/SX and Visual COBOL for the GIVING and RETURNING phrases.In NX/SX this was allowed in the...
View ArticleRE: Compilation Error
LINKAGE SECTION.01 lnk-aera, 03 kct-id-in pic ?. 03 ign-ind-in pic ?. 03 ws-code-afk pic ?. 03 ws-reden-afk pic ?. 03 sqlca pic ?. 03...
View ArticleRE: Compilation Error
Hi Chris,2877062 is created and requested to redirect to you.Thank You,Ramesh
View ArticleRE: Compilation Error
it's so easy!How can i help you?Send a extract from you code from master program and subprogram, i will test it for you!
View ArticleRE: Compilation Error
customer help customer and then we have specialist as Chris, then the Hotline!
View ArticleCompilation Error
Hello,I am trying to compile existing Server Express cobol code in Visual Cobol Development hub on Solaris platform. Having issues during compilation.1. Syntax error. GIVING not allowed.This is the...
View ArticleRE: Compilation Error
Yes, as you say the workaround is to not use GIVING and simply pass the parameter in the USING list instead. You could also compile with a different directive such as DIALECT"ISO2002" but I expect that...
View ArticleRE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?
I understand. I've made the appropriate changes to my program and it is functioning as expected and required. A couple of observations:1. I used "STRING ... x"00" INTO pattern-text" vice your "SET...
View Article