Thanks Mark, now works fine -- Udo Leverentz Mayer Divis�o de Suporte Tribunal de Justi�a do Paran� www.tj.pr.gov.br
"Mark Sires" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Udo, > The first parameter should be ".INT", not "INT". You can specify more > formats than .INT by using the ".", ie ".MAC.INT" will allow you to put both > .INT and .MAC routines in the same save file. Note that the routine name in > ^%utility still needs the extension however. > Mark > > "Udo Leverentz Mayer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Dan, > > > > Now I'm trying this code of example that you send me in documentation: > > > > s flag=$$rsave^%Wr("INT","FILE.RSA:(""RWN"")","Description","Cache",0,0,1) > > > > with my routines name.int in ^%Utility($J,n) > > > > this routine generate FILE.RSA but when I try to import this file in > > explorer occurs "Invalid entry file" when retrieving list of routines of > > this file. > > > > I'm using Cache 4.1.16 and I not found documentation about objects to do > > this in this version, only in Cach� 5 that have %R class > > > > Thanks > > > > -- > > Udo Leverentz Mayer > > Divis�o de Suporte > > Tribunal de Justi�a do Paran� > > www.tj.pr.gov.br > > > > "Mark Sires" <[EMAIL PROTECTED]> escreveu na mensagem > > news:[EMAIL PROTECTED] > > > Try changing f to > > > s f="c:\rotina.ro:(""RWN"")" > > > The open parmeters need to be part of the file variable. > > > Be aware that using this method may not work in future versions. I > > believe > > > the routine object gives you methods to do this that would be forward > > > compatible. > > > > > > Mark > > > > > > "Udo Leverentz Mayer" <[EMAIL PROTECTED]> wrote in message > > > news:[EMAIL PROTECTED] > > > > OK, > > > > > > > > Now I'm trying this code: > > > > > > > > set r=$$rsave^%Wr("INT",f,"descricao","Cache",0,0,1) > > > > > > > > with f="C:\rotina.ro" and my routines name.int in ^%Utility($J,n) > > > > > > > > If the file already exists, occurs the error: "WRITE>rsave+21^%Wr" > > > > > > > > If the file does not exists, occurs the error: "Can't open file" > > > > > > > > Does this file have to exists? I was thinking that this routine would > > > create > > > > the file. > > > > > > > > Thanks > > > > > > > > -- > > > > Udo Leverentz Mayer > > > > Divis�o de Suporte > > > > Tribunal de Justi�a do Paran� > > > > www.tj.pr.gov.br > > > > > > > > "Ram�n Jim�nez" <rjimenez@@@cicla..com...do> escreveu na mensagem > > > > news:[EMAIL PROTECTED] > > > > > Udo, > > > > > > > > > > I think you not need specify the "WNS" parameters, just the file > name. > > > > > > > > > > HTH, > > > > > > > > > > Ram�n > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
