Rechercher

Annonce
· Mars 21

Planned Maintenance Notice

🚨 Planned Maintenance Notice 🚨

The InterSystems Developer Community will undergo scheduled maintenance tomorrow (March 22, 2025) from 10:30 AM to 12:30 PM EST (16:30 to 18:30 CET).

During this time, the platform may experience intermittent downtime. We apologize for any inconvenience and appreciate your patience as we work to improve our services.

Thank you for your understanding!

Maintenance Windows: Keep it short or use it all?

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Mars 21

Formato de Caracteres não Alfabéticos na Global

Iris Gravando Global com caracteres sem padrão alfabético:

^SASNETWEBORGAO(1,0) = "SECRETARIA DE ADMINISTRAÃ"_$c(135)_"Ã"_$c(131)_"O^1010^01010101"

 

Correto:

^SASNETWEBORGAO(1,0) = "SECRETARIA DE ADMINISTRAÇÃO^1010^01010101"

Como solucionar o problema?

4 Comments
Discussion (4)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Mars 21

VSCode - trying to use <sql> tag to call SELECT statement

I was using VSCode to edit a DTL because it seemed easier to copy/paste code from parts of the DTL I was editing. I tried to add <sql> tag and code to call a SELECT statement, but when I compiled I got the following error...

ERROR <Ens>ErrInvalidDTL: Invalid DTL

  > ERROR #5490: Error running generator for method 'GetSourceDocType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetSourceDocType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR #5001: element 'sql' is not allowed for content model '(annotation?,((true,false)|(false,true)|(true)|(false)))'

  > ERROR #5490: Error running generator for method 'GetSourceDocType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetSourceDocType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR <Ens>ErrInvalidDTL: Invalid DTL

  > ERROR #5490: Error running generator for method 'GetSourceType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetSourceType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR #5001: element 'sql' is not allowed for content model '(annotation?,((true,false)|(false,true)|(true)|(false)))'

  > ERROR #5490: Error running generator for method 'GetSourceType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetSourceType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR <Ens>ErrInvalidDTL: Invalid DTL

  > ERROR #5490: Error running generator for method 'GetTargetDocType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetTargetDocType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR #5001: element 'sql' is not allowed for content model '(annotation?,((true,false)|(false,true)|(true)|(false)))'

  > ERROR #5490: Error running generator for method 'GetTargetDocType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetTargetDocType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR <Ens>ErrInvalidDTL: Invalid DTL

  > ERROR #5490: Error running generator for method 'GetTargetType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetTargetType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR #5001: element 'sql' is not allowed for content model '(annotation?,((true,false)|(false,true)|(true)|(false)))'

  > ERROR #5490: Error running generator for method 'GetTargetType:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(GetTargetType) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR <Ens>ErrInvalidDTL: Invalid DTL

  > ERROR #5490: Error running generator for method 'Transform:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(Transform) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR #5001: element 'sql' is not allowed for content model '(annotation?,((true,false)|(false,true)|(true)|(false)))'

  > ERROR #5490: Error running generator for method 'Transform:osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

ERROR: Ens.DataTransformDTL.cls(Transform) of generated code compiling subclass 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

    > ERROR #5030: An error occurred while compiling class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization'

Detected 10 errors during compilation in 0.045s.

 

Class 'osuwmc.Epic.MFN.DTL.EpicMFN949002Normalization' contains an invalid DTL document:

ERROR <Ens>ErrXMLValidation: Error in XML Validation: element 'sql' is not allowed for content model '(annotation?,((true,false)|(false,true)|(true)|(false)))' while processing Anonymous Stream at line 62 offset 6 %2

Is this just something that isn't available for editing within VSCode?

2 Comments
Discussion (2)3
Connectez-vous ou inscrivez-vous pour continuer
Article
· Mars 21 1m de lecture

Como colocar logs de aplicativos na global ^ERRORS

Rubrica de FAQ da InterSystems
 

Pode ser feito com o TRY-CATCH:

 #dim ex As %Exception.AbstractException
 TRY {
    //Code that causes an error
  }
  CATCH ex {
     do ex.Log()
  }

Se você usar o ^%ETN, chame-o a partir do bloco BACK (BACK^%ETN).

Por favor, dê uma olhada também no artigo relacionado: Como buscar erros de aplicação (^ERRORS) usando um comando

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Mars 21

[Vídeo] Desbloqueando o aprendizado prático com o Instruqt

Olá Comunidade, 

Recentemente, @Dean Andrews, Chefe de Relações com Desenvolvedores, conversou com a Instruqt para compartilhar como a InterSystems está transformando o engajamento dos desenvolvedores:

>> Unlocking Hands-On Learning with Instruqt <<

“O Instruqt é útil para tutoriais interativos onde compartilhamos casos de uso específicos de nossa tecnologia com nossos clientes, parceiros e desenvolvedores ao redor do mundo... É uma maneira poderosa de mostrar aos nossos clientes e parceiros o quão fácil é usar a tecnologia InterSystems.” - Dean Andrews

Ele mencionou que, com uma comunidade global de mais de 22.000 desenvolvedores, a InterSystems precisava de uma maneira escalável e eficiente de mostrar sua tecnologia - da interoperabilidade de dados à IA generativa. Entre no Instruqt - uma plataforma flexível que permite a entrega de tutoriais interativos tanto sob demanda quanto em eventos ao vivo, como hackathons e Summits.

Ao integrar o Instruqt ao InterSystems Developer Hub e aos eventos, a InterSystems aprimorou o envolvimento dos desenvolvedores, reduziu a sobrecarga operacional e forneceu experiências de aprendizado imersivas, tudo isso tornando mais fácil do que nunca para os desenvolvedores explorarem nossa tecnologia.

Confira a entrevista completa para ver como estamos moldando o futuro da educação de desenvolvedores!

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer