Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

CALLRB error 12336

$
0
0

   Good morning.

I'm working with microsoft visual studio 2010 version 10.0.40219 .

I am trying to call the function " CALLRB " but it does the following error " 12336 " .

syntax follows :

class-id rebuild.Form1 is partial
inherits type System.Windows.Forms.Form.

$set idxformat"8"

working-storage section.
01 parameters pic x(600).
01 Wstatus pic xx comp-x.

01 wdata.
03 ano pic 9(02).
03 mes pic 9(02).
03 dia pic 9(02).

01 whorario.
03 hh pic 9(02).
03 mm pic 9(02).
03 ss pic 9(02).


method-id NEW.
procedure division.
invoke self::InitializeComponent
goback.
end method.


method-id pbprocessar_Click final private.
procedure division using by value sender as object e as type System.EventArgs.


* faz rebuild do arquivo idx
move "C:\temp\teste.dat,C:\temp\teste2.dat" to parameters
call "CALLRB" using parameters , Wstatus end-call


if Wstatus = zeros then
* mensagem para usuario
invoke type MessageBox::Show("Rebuild realizado com sucesso!" "Atenção")
end-if

end method.

end class.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



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