Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: RE: 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 code: . .....

View Article


Forum Post: RE: 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...

View Article


Forum Post: RE: 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 Article

Forum Post: RE: 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 Article

Forum Post: RE: 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 Article


Forum Post: Compilation 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 Article

Forum Post: RE: 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 Article

Forum Post: RE: 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, ORACA GIVING WS-RET-CODE. Thank you, Ramesh

View Article


Forum Post: RE: 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 Article


Forum Post: RE: 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 ?....

View Article

Forum Post: RE: Compilation Error

Hi Chris, 2877062 is created and requested to redirect to you. Thank You, Ramesh

View Article

Forum Post: RE: 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 Article

Forum Post: RE: Compilation Error

customer help customer and then we have specialist as Chris, then the Hotline!

View Article


Forum Post: RE: 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...

View Article

Forum Post: RE: 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


Forum Post: Compilation Issue

Hi, Does any faced similar kind of issue when compiling using Visual Cobol Development Hub on Solaris platform? Undefined symbol ORACLE first referenced in file start_bevestiging_ppl.o ld: fatal:...

View Article

Forum Post: RE: Confirm native vs managed CBL_DIR_SCAN_READ behavior?

The only way that I see your enhancement request working would be if we added a new flag bit that had to be turned on in order to cause this behavior. Otherwise we would be breaking current...

View Article


Forum Post: Invoke a URL from NetExpress cobol

Hi, We use OLE methodology to invoke server objects like VB modules to perform print operation. I would like to know if there's any way to invoke a URL from cobol program. For suppose invoke...

View Article

Forum Post: RE: Invoke a URL from NetExpress cobol

I think that...      $set mfoo case remove(beep) remove(escape)      *-----------------------------------------------------------------*      * Modulo : cblSExec...

View Article

Forum Post: Visual Cobol 2.3 Update 2

Is it possible for users of the Personal Edition to get Update 2? I don't have a SupportLine login. Thank you

View Article
Browsing all 5819 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>