How to Disable Syntax Checker for DDL Generation

Would like to include shell script commands before a create table statement. Modified the .xdb but PowerDesigner does not recognize this code as it is not native to the database. Is there a way to disable the syntax check so that the create table script can include these statements rather than a number of errors? Running v15.2 of PowerDesigner. Any feedback would be appreciated!

Hello. Yes. To be more specific, want to be able to run the create table DDL for Teradata from BTEQ. I added the following statements to a customized version of the Terada .xdb for the table BeforeCreate:
.logon ${TD_SERVER}/${TD_USERNAME},${TD_PASSWORD}
select 1
from dbc.tables
where DatabaseName =  [%QUALIFIER%]
and TableName = '%TABLE%'
.if errorcode > 0 then .goto error
.if activitycount <> 1 then .goto create_tbl
drop table %TABLE%;
.if errorcode > 0 then .goto error
.label create_tbl
The DDL shows up with syntax errors as follows. So clearly, there is something that is attempting to validate the code:
3 error(s), 0 warning(s)
(1) (Table "DATE_DIM"):
   [syntax error] unknown macro: logon ${TD_SERVER}/${TD_USERNAME},${TD_PASSWORD}
(8) (Table "DATE_DIM"):
   [syntax error] condition parsing error
(16) (Table "DATE_DIM"):
   [syntax error] expecting .endif

Similar Messages

  • Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?

    Does Anyone Knows How To Disable The "Check For Updates" Option in Adobe Edge Code and Reflow?
    Thanks in Advance

    I don't think there is a way for Edge Code. I'm not sure about Reflow.
    Why don't you just upgrade? That will stop the notifications.
    Randy

  • How to disable syntax checker that generates red underlines

    I've searched and couldn't find anything. Is there any way to turn off or delay the red underlines that come up while typing in the sql worksheet in SQL developer? Just something that's been bothering me.

    Try checking under Tools -> Prefs -> Code Editor -> PL/SQL Syntax Colors -> Available Styles: PLSQL Errors
    I don't know if unchecking "Enable Highlight" will turn off the line or not...but changing the line color to Transparent or whatever you background color is should make it go away.
    EDIT
    Not PLSQL Errors...SQL&PLSQL Syntax Errors
    Edited by: DylanB123 on Sep 21, 2010 12:20 PM

  • How to desable ok check for subcontracting child parts in MIGO

    Dear SAP Experts,
    my client is having one issue regarding disable OK check for subcontracting child parts in MIGO transaction  ,In MIGO subcomponenets are attached to main component , my client is asking for disable that OK check box user shouldnot remove that check box tick mark when system showing message deficiate of subcomponents at subcontractor  because some times users removing that check box tick mark  and proceeding further, with that they are not able to reconcile the sub challans.
    Plz let me know how disable OK check for child parts in MIGO

    chandu
    while making the po we are explode the BOM and we defined the parant and child mateirlas in bom.
    system will show the same in migo . i think there is no standard configration to block the option.
    Regards
    laxman

  • How to disable avalibility check

    Hi,
    I don't want to avalibility check only in sales order. How can I disable avalibility check for sales order ? How can I customize for this case?
    Thank you,
    Regards,
    Hilal

    hi,
    u can do this by maintaining 'kp' in availability chek field in mrp3 view of material master. but make sure the same is active in delivery item category else the syatem will allow PGI even if there are no stocks.
    saurabh

  • How to programatically syntax check development objects

    Hello,
    We are going through a test upgrade project (4.6C to 4.7) and need to identify all custom objects that have syntax errors. I was able to find some FMs that do syntax check for executable programs (EDITOR_SYNTAX_CHECK, CHECK_SOURCE, etc) but was not able to find any FM/Program that can syntax check different kind of development objects like tables, FMs, Includes, programs, etc. It seems that different objects use different syntax check programs. I am basically getting a list of custom objects from tadir and then want to submit this object to a FM that can tell me if the object is syntactically OK.
    Any help is much appreciated.

    Hello All,
    With the tips I got from you I was able to identify a transaction called SCI - Code Inspector that does everything that I was wanting to do.
    You need to specify an object set that you want to inspect (e.g.: Z programs, Z function groups, etc) along with the type of inspection (syntax check, object generation, etc) you want to perform via a variant and then create an inspection referring to the object set and variant and that's it. The result gives a complete list of objects based on the type of inspection you wanted performed. Another useful thing that I found was an ABAP statement called syntax-check that you can use to check executable programs and function groups without calling any FMs. It is limited in the type of objects it can check but works great for executable programs.
    Keep up the great work and thanks again to all of you that responded.
    A special thanks to Sailatha for the code inspection program tip.
    Best regards,
    Shamim

  • SaaS Sharepoint, ADFS claims and internal AD-CA: How to disable CRL check in Sharepoint?

    Hi all,
    We have an external SaaS provider with a Sharepoint 2010 server. In our AD, there is an ADFS server providing ADFS claims to Sharepoint and thus giving SSO functionality. For the ADFS service and its token-signing and encrypting, there is one certificate
    drawn from an internal AD Enterprise CA server.
    The problem is that, when the company user opens the Sharepoint URL, it is extreamly slow to open, however it does eventualy open. The SaaS provider has indicated its an issue with the CRL checking. I know on other Microsoft products there are ways to disable
    CRL checking but haven't found such information for sharepoint.
    We have provided the CRL files and the provider has added these and for as long as they are valid things work as expected. However the CRL then expires and we are back to square one.
    Can anyone help?
    I have found this question has been asked before here:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/431bae5c-c502-4723-9de7-663abd46658e/saas-sharepoint-adfs-claims-and-internal-adca-how-to-disable-crl-check-in-sharepoint?forum=sharepointgeneralprevious
    Unfortunately the answer doesn't satisfy my situation. Also not sure I agree that self signed certificates should be used and it's quite a topic for debate in ADFS circles... However in my situation we don't have the option to change ADFS to use self signed
    certificates as the ADFS service is in use with 12+ other service providers all who have no issue using the Token Signing Certificate even though they cant access the CRL either.
    Thanks for your help,
    James

    Hi,
    As I understand, you want to disable CRL check in SharePoint.
    There are four workarounds:
    1. Give your servers an outbound Internet connection
    2. Edit the hosts file at “%SYSTEMROOT%\\System32\\drivers\\etc\\hosts” to fool the CRL check into thinking your local machine is crl.microsoft.com by pointing it at 127.0.0.1 (localhost).
    3. Edit the registry to disable CRL checking by setting the State DWORD to 146944 decimal (SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WinTrust\\Trust Providers\\Software Publishing for both HKEY_USERS\\.DEFAULT and HKEY_CURRENT_USER) PowerShell.
    4. Edit the machine.configs and disable it there.
    The article gives you the details about the four workaround.
    More reference:
    http://basementjack.com/uncategorized/powershell-script-to-disable-certificate-revocation-list-crl/
    https://kb4sp.wordpress.com/2013/10/08/certificate-revocation-list-disable-check/
    Best regards,
    Sara Fan

  • Disabling the Check for Update feature in 10.1.3

    Hi,
    I work at a government facility that has tight security restrictions regarding downloading software. We are about to prepare a software delivery package for JDeveloper 10.1.3 that will let our IT department install JDeveloper on all of our developer workstations. One thing we would like to do as part of this deployment package is to disable the Check for Updates and PlugIn feature of JDeveloper. Is there a setting in a configuration file that controls this menu item?
    Thanks,
    Richard

    Hi,
    Is the requirement to disable the check for updates feature altogether (i.e. remove the menu item), or to just disable the automatic check that happens on startup?
    There isn't currently a documented way to totally disable the feature altogether, however it's possible to add such a feature in a future service update if necessary.
    There is a potential way in which you can modify the behavior of the wizard such that it will always find no updates (the menu item will still be present, however). If this is an acceptable solution to you, let me know and I'll fill you in on the details.
    Thanks,
    Brian

  • Syntax check for a software component

    Hi all,
    is there a way to run a syntax check for all objects of a software component?
    Means triggering the check at software component level.
    Thanks and regards!
    Kerstin

    Hi Kerstin
    I think basis guy should know this, it`s on software component level.
    i know a tcode 'SGEN', but this is used to define a background job then compiling the software component. I`m not sure the background job log whether have this kind of error message if there are SYNTAX error.
    regards,
    Archer

  • HOW TO CREATE SEVERAL folder for the generation and READING FILE

    HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
    please give an example to create 3 folders or directories ...
    I appreciate your attention ...
    Reynel Martinez Salazar

    I hope this link help you.
    [http://www.adp-gmbh.ch/ora/sql/create_directory.html]
    create or replace directory exp_dir as '/tmp';
    grant read, write on directory exp_dir to eygle;
    SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
    Directory created.
    SQL> declare
      2    fhandle utl_file.file_type;
      3  begin
      4    fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
      5    utl_file.put_line(fhandle , 'eygle test write one');
      6    utl_file.put_line(fhandle , 'eygle test write two');
      7    utl_file.fclose(fhandle);
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> !
    [oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
    eygle test write one
    eygle test write two
    [oracle@jumper 9.2.0]$
    SQL> declare
      2    fhandle   utl_file.file_type;
      3    fp_buffer varchar2(4000);
      4  begin
      5    fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
      6 
      7    utl_file.get_line (fhandle , fp_buffer );
      8    dbms_output.put_line(fp_buffer );
      9    utl_file.get_line (fhandle , fp_buffer );
    10    dbms_output.put_line(fp_buffer );
    11    utl_file.fclose(fhandle);
    12  end;
    13  /
    eygle test write one
    eygle test write two
    PL/SQL procedure successfully completed.
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdump
    SYS                            EXP_DIR                        /opt/oracle/utl_file
    SQL> drop directory exp_dir;
    Directory dropped
    SQL> select * from dba_directories;
    OWNER                          DIRECTORY_NAME                 DIRECTORY_PATH
    SYS                            UTL_FILE_DIR                   /opt/oracle/utl_file
    SYS                            BDUMP_DIR                      /opt/oracle/admin/conner/bdumpRegards salim.
    Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM

  • How often does mozilla check for mail?

    I simply want to know how often Mozilla Thunderbird checks for new mail. Can I change this time period to more or less often?

    As often as you tell it to check. Note, some email providers limit the frequency with which one is allowed to check for new mail. An interval of less than 10 min doesn't really make sense.
    Tools (Alt-T) - Account Settings - Server Settings
    Check for new messages every x minutes.

  • Syntax check for inactive programs(object)

    I am having some program in internal table now i have to do syntax check for the programs, actually I can use SLIN but SLIN will not do Syntax check if the object is not active, is there  any way that I can check for many programs one after the other.

    Hi Vikram,
    USe the transaction SAMT.
    Please flooow the link below it will solve u r pblm.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40c62223-639e-2a10-dd9a-b1dd9af73aeb
    Thanks

  • How can I download itunes for my generation 1 ipad

    What apps still work for my generation 1 ipad? How can I download iTunes for my generation 1 ipad?

    No one is developing applications for iPad 1 devices that are stuck on IOS 5. A compatible IOS Apple iTunes App Store is no longer available. A synchronization via iTunes 12.0.1 to my iPad 1 basically refuses to load almost all applications because newer versions of these applications require IOS 7 and IOS 8 for installation.
    Time to get a more recent iPad that can run IOS 8 (or later).

  • How to do syntax check programmatically

    Hi,
    Please help me if there is any FM or any other way to check the syntax of program programmatically
    I tried this FM EDITOR_SYNTAX_CHECK, but whatever input i give,it is giving me error
    'REPORT/PROGRAM statement missing, or program type is I (INCLUDE).'
    Regards,
    Sowjanya

    Hi Sowjanya,
    I think you are doing syntax check for an include...
    if it is giving the that type of error.. "'REPORT/PROGRAM statement missing, or program type is I (INCLUDE"
    do below
    with out checking the sytax just activate....even it comes activate forcefully.... (ie. Activate Anyway..
    solves your problme..
    Thanks!

  • How to disable one check box when another is checked

    Hi, I'm a first time user.
    i am trying to make text fields appar and dissapaer when check boxes are ticked. but only alow one check box to be active at one time. 
    I am making a simple form in Acrobat pro 9,
    I have two check boxes Checkbox1 & Checkbox2.
    I have two text fields Textfield1 & Textfield2
    i have added actions to checkbox1 & checkbox2 to 'hide or show' the text fields.
    Action --> on focus (checkbox1) show/hide field (textfield1) is hide
    Action --> on focus (checkbox1) show/hide field (textfield2) is show
    oposite
    Action --> on focus (checkbox2) show/hide field (textfield2) is hide
    Action --> on focus (checkbox2) show/hide field (textfield1) is show
    problem 1 - how to disable checkbox1 when checkbox 2 is ticked.
    or disable checkbox2 when checkbox1 is ticked.  
    my other problem is that this action has the same effect for ticking or unticking the checkbox.
    thanks in advance to anyone who can help.
    can you please write your answer in simple terms. Basically this is the first time i have used acrobat pro so please dont assume any knowledge at all. thansk very much .

    First, I would experiment with just check boxes and learn their properties and how they can interact.
    Have you tried using the same name for 2 check boxes and assign a different "export value" to each check box.
    Have you looked at the values a check box or boxes have when checked or un-checked?
    Have you looked at how the various actions for a field work?

Maybe you are looking for

  • Will not boot

    I usually get a blank screen but sometimes get as far as the Apple insignia.  I've tried the following without success: 1. Press C During Startup Booting from a CD? You can hold down the C key on your keyboard to instantly boot to a Mac OS X or other

  • Is it possible to change the save location of screen shots?

    I am trying to find out how to change the save location of screen shots. Is this possible? And how would I do this?

  • Using dynamic array as record selection criteria-performance issue

    Hi All, I have successfully passed an array to my subreport and using it as selection criteria. This subreport is embedded in a group and prints data recursively. Problem is the selection is happening locally which causes all the records to be brough

  • Error When Installing Sun Java System Application Server 9.1

    Hi, I"m trying to install the server to take [The Java EE 5 Tutorial|http://download.oracle.com/javaee/5/tutorial/doc/javaeetutorial5.pdf]. I found that +C:\Sun\AppServer\bin+ was added to my PATH environment variable, which is correct. I get the mes

  • Need help with Elements loading RAW images since I switched cameras.

    I recently switched from a Canon Rebel XT to a Canon Rebel T1i. I have Elements 6.0 and was able to see RAW images with my old camera. For some reason the RAW images aren't loading in Elements now. I get a message saying the files are corrupt. I've t