Complicated ODBC issues

I am trying to set up a connection, but I keep getting an
error that the "file is not available". I am running IIS on my web
server (windows XP), on which I created an ODBC connection to a db
that resides on a separate server (Linux). While logged into the
windows machine I can connect to the db through ODBC using MSAccess
and run queries, so I know I'm on the right track. However, from DW
(on my developer machine, which is a mac) when I try to make the
connection, I get "File is not available". I can see the DSN on my
testing server (same as web server) but it cannot open the data
file.
I tried "hand-coding" a query referencing the connection on
the web server, and uploaded the page to test, but I got the same
error from IIS. I am wondering if there is a user authentication
problem somewhere between the windows machine and the linux server.
I have tried pointing the ODBC to the data file using a mapped
drive to the linux share containing the db, and I have also
specified the ip address and share. Both work when I'm on the
windows box, but neither work from my Mac or through http. Anybody
got any ideas?

                    try {
                         Thread.sleep(50);
                    } catch (InterruptedException e) {
                         return;
                    if (!timerThread.isInterrupted()) {
                         appBar.display.syncExec(timerRunnable);
                    }If the thread was interrupted, it woud have caught the InterruptedException and returned, so you can't reach this line of code. Well you can, if the thread was interrupted in the very brief timing window between returning from sleep() and the 'if', but it is statistically very unlikely. I suggest that just removing the 'if' and make the next line unconditional expresses your intent.

Similar Messages

  • Office 365 Pro Plus and ODBC issue

    Hi,
    ODBC connection works with Office 2013 standard but when Office 365 Pro Plus is loaded on the same machine after removing 2013 standard the odbc connection does not work.
    Microsoft query does show the database but when we try to connect the message comes up saying microsoft not working. When I did a odbc trace the log showed error fault 1000 in mso.dll
    Have tried the threads on 365 and odbc issues but none of these work.
    Grateful if could get some assistance on this.
    Kind regards,
    Tom  

    Hi George,
    We have tried in safe mode with no success.
    This is the log error message we get
    Event ID: 1000
    Log Name: Application
    Source: Application Error
    Faulting application name: MSQRY32.EXE, version: 15.0.4543.1000, time stamp: 0x5203294c
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x2073776f
    Faulting process id: 0x3e48
    Faulting application start time: 0x01cef5fa16b66049
    Faulting application path: C:\Program Files\Microsoft Office 15\root\office15\MSQRY32.EXE
    Faulting module path: unknown
    Report Id: 55964aa9-61ed-11e3-b442-91ada38bdb98
    Thanks,
    Tom

  • ODBC Issues

    I have a couple of ODBC issues. I am using mySQL and have installed the latest ODBC drivers 3.51.22 on my system. While I can setup user DSN's, I cannot setup system DSN's. When I setup the DSN under the system tab, it becomes a user DSN. The application that I am using needs system DSN's to access data (per documentation).
    I am logged on as an account that has administrator privileges on the system.
    My second issue is that the ODBC administrator constantly crashes when trying to do things within the application.
    Any help would be appreciated.

    Exact same problem here (as dwb67).
    (Sigh. Yet another thing on Macs that doesn't work)
    Message was edited by: KBW

  • Crystal Reports Server 2008 (Linux) - Crystal Reports/MySQL/ODBC Issue

    Hello,
    I have successfully installed CRS '08 on a Red Hat Enterprise Linux 4 server.  All services run fine.
    In the CMC, I have uploaded a Crystal Report that connect to a remote MySQL server. 
    I have installed the My SQL ODBC 3.51.11 and .12 Drivers as a System DSN.
    I have proven that the reports run fine in Crystal Reports 2008 directly against the remote MySQL DB server.
    (in Windows but with the same 3.51 ODBC Drivers)
    I have also proven that the database connection works okay from the CRS '08 Red Hat server to the remote MySQL DB server, when also creating a system DSN (using bash ./ODBCConfig)
    The problem is that when I log into the CMC or InfoView, and when I run the Crystal Reports from there, I get an error message:
    "Error in File <MyCrystalReport>: Failed to load database information"
    Is there something wrong with my specific Crystal Reports' Database Configuration? (Right click- Database Configuration)
    I see the driver was registered correctly in the /etc/odbc.ini file
    Am I supposed to set any other ODBC environment variables?
    Is there are firewall issue (port 3306 is already open)?
    In summary, the install was successful, and Crystal Reports can be uploaded and viewed via CMC or InfoView, but I cannot run the Crystal Reports against the database.
    Please advise, Thanks!

    Hi, I'm facing a similar problem. My ODBC DSN never works with CRS. Here are the details:<br><br>
    (1) I  installed the CRS 2008 in /opt/crystalreportsserver_2008_v1/ on a Linux platform. The CRS works well. I created a report with Crystal Reports 2008. This report directly connects to a MySQL server. After I published the report and manually modify its database configuration, I can browse it from InfoView. I'm sure that CRS, MySQL, and a report connecting to MySQL are all good.<br><br>
    (2) Then, I created an ODBC DSN on a Windows platform. This DSN connects to a MySQL server. I created another report with Crystal Reports using this DSN. The report can show the data within Crystal Reports.<br><br>
    (3) Then, I published the second report to CRS, but when I try to browse it, I always get such a message: Failed to open the connection.<br><br>
    I have configured the ODBC for CRS on the Linux server and I think the configuration is correct. This is how I do that: I edited the /opt/crystalreportsserver_2008_v1/bobje/odbc.ini file. In the file I added a data source called ods_telstar. Following is the content of the file:<br><br>
    [ODBC Data Sources]<br><
    CRSQLServerWP=DataDirect 5.3 SQLServer Wire Protocol Driver<br>
    CRSybaseWP=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    CRText=DataDirect 5.3 Text Driver<br>
    %SYBASEDSN%=DataDirect 5.3 Sybase Wire Protocol Driver<br>
    ods_telstar = MySQL<br>
    <br>
    ... <br>
    <br>
    [ods_telstar]<br>
    Description     = ODS on telstar<br>
    Trace       = Off<br>
    TraceFile   = stderr<br>
    Driver      = /opt/crystalreportsserver_2008_v1/bobje/enterprise120/linux_x86/odbc/lib/libmyodbc5.so<br>
    SERVER      = xxx<br>
    USER        = xxx<br>
    PASSWORD    = xxx<br>
    PORT        = 3306<br>
    DATABASE    = ods<br>
    <br>
    In the middle I removed some data source definitions that are by default in the file. Note that I use "xxx" to replace the server name, user, and password. Such information is for internal use and I'm sure the original information is correct. The MySQL ODBC driver file has been put in the correct location. Correct access permissions has been assigned to the file.<br><br>
    I've tried to restart the CRS server, but still the report using ODBC DSN cannot be viewed.<br><br>
    The reason that we want to user ODBC DSN is that we may have many reports to publish. When we design the reports, we specify that they get data through an ODBC DSN such as ods_telstar. If we configure the same DSN on CRS, then we don't need manually modify each report's configuration after we publish them. If these reports are directly connecting to MySQL, then we have to manually modify each one's database configuration after we publish them.<br><br>
    I've no idea what's wrong with all the setup. Any suggestions and comments are appreciated!<br>

  • ODBC Issue

    Dear all,
    I have a small issue regarding ODBC. I have installed two Oracle 10g Clients in one machine i want to connect to two different databases using these clients. When i try from SQLplus this works. But from ODBC both the Oracle ODBC drivers for both client 1 and client 2 point to client 2.
    Please suggest how we can setup two seperate ODBC connections using two different Oracle home
    Thanks

    Thank you for your earliest reply,
    I will explain you the scenario we have two seperate databases with characterset WE8ISO8859P1 and WE8MSWIN1256, we want to snchronize them with a third party tool (copy all rows from 1 db to another as normal import and export will not give us arabic data) for this we need two oracle client with different NLS setting (this already we have done) and than we need 2 seperate ODBC connections for this third party tool.

  • Complicated synchronization issues

    Hello,
    I have written a class that creates and starts a thread in the constructor. The thread runs until the dispose() method of the class is called. If a specific flag is false, the code shall run a method every 50ms. If it is true, it shall wait until it next gets false and so on. I've read about and tried out a bit with synchronization, but I just don't get it for my case, and so my code is not clear anymore.
    In the Constructor:
    timerThread = new Thread(new Runnable() {
         @Override
         public void run() {
              while (true) {
                   synchronized (timerRunnable) {
                        while (appBar.isHidden) {
                             try {
                                  timerRunnable.wait();
                             } catch (InterruptedException e) {
                                  return;
                   while (!appBar.isHidden) {
                        try {
                             Thread.sleep(50);
                        } catch (InterruptedException e) {
                             return;
                        if (!timerThread.isInterrupted()) {
                             appBar.display.syncExec(timerRunnable);
    timerRunnable = new Runnable() {
         @Override
         public void run() {
              // ... more code ...
              if (hide) {
                   animate(false);
                   appBar.isHidden = true;
    timerThread.start();The timerRunnable is run in the main thread with the syncExec method.
    In the mouseMove event:
    if (appBar.isHidden) {
         animate(true);
         appBar.isHidden = false;
         leaveTime = System.currentTimeMillis();
         synchronized (timerRunnable) {
              timerRunnable.notify();
    }And finally in the dispose method:
    if (timerThread != null) {
         timerThread.interrupt();
         try {
              // The timer thread shall run till its death, because it needs access to some objects, that will be disposed if we proceed here when the thread is still alive.
              timerThread.join();
         } catch (InterruptedException e) { }
         timerThread = null;
    }It would be great if someone could help me with this complicated issue.

                        try {
                             Thread.sleep(50);
                        } catch (InterruptedException e) {
                             return;
                        if (!timerThread.isInterrupted()) {
                             appBar.display.syncExec(timerRunnable);
                        }If the thread was interrupted, it woud have caught the InterruptedException and returned, so you can't reach this line of code. Well you can, if the thread was interrupted in the very brief timing window between returning from sleep() and the 'if', but it is statistically very unlikely. I suggest that just removing the 'if' and make the next line unconditional expresses your intent.

  • ODBC Issues with SAP Predictive Analytics 2.0 - Automated Analysis

    Dear all,
    maybe this adds only an aspect to the Infinite Insight OCBC Connection difficulties discussed in
    http://scn.sap.com/message/15766247#15766247
    but after trying and searching the web for more than a day any help would be appreciated.
    This is the situation:
    I'm using SAP PA 2.0 Desktop version and would like to upload a flatfile (*csv) to the Data Manager of Automated Analysis. Unfortunately, none of the solutions found by now worked.
    It is a SAP PA 2.0 64bit version installed on a Windows 7.0 64 bit P. The installed MS Office version is 32bit as all available drivers. Deinstalling MS Office and reinstalling a 64bit version is not an option. It is not possible to install SAP PA 2.0 32bit version either - the Installation process stops due to the wrong operations system.
    The DSN configuration suggested in the SCN discussion mentioned above didn't work, although displayed as data source in the Data Manager data base/file selection Screen. The error message returned is a Microsoft ODBC error [IM014] indicating that for the DSN used, there is an architecture mismatch between driver and application,
    The attachments shows screenshots of the error message and the situation in the ODBC adminitrator consoles both for 32bit and for 64bit (in system32 and SysWOW64 shares).
    Is there a solution to this problem?
    Kind regards
    Elisabeth

    Hi Elisabeth,
    If I understand correcty, you would like to upload your csv file to a database.
    What kind of database is it ?
    The Automated part of Predictive Analytics supports the following databases:
    SAP HANA
    Sybase IQ
    Oracle
    Hive
    Teradata
    Microsoft SQL Server
    MySQL 5
    Netezza
    IBM DB2
    PostgreSQL
    Vertica
    Greenplum
    Your screensot shows ODBC connections to Excel and Text files. It is is not real databases, it cannot execute SQL code.
    For more information on configuring a database connection on your machine, you can refer to this document : https://websmp204.sap-ag.de/~sapidb/012002523100001708812015E/pa20_conndb_win_conf_en.pdf
    Note that you need a database driver installed on your machine and access to a database (either installed on your machine or on a remote server).
    In general, all documentation related to PA2.0 can be found here : SAP Predictive Analytics 2.0 – SAP Help Portal Page.
    Hope this helps.
    Kind regards,
    Armelle

  • Oracle 8i and Windows 2000 - ODBC issue

    Oracle ODBC Test will not connect to a DSN that worked in Windows NT 4.0. After upgrading to Windows 2000, my ODBC stuff is hammered. I have many applications that rely on these DSN's. Does anybody have any suggestions? Please send comments/suggestions to [email protected] HELP! PLEASE!

    Hello:
    I need the following product:
    ORACLE COM.DOT this suit include:
    Oracle 8i, oracle webdb, oracle bronze support and others.
    Please, somebody can tell me which is de part number or what package include all this aplicattions.
    Thanks and i4m waiting for an answer.
    null

  • Complicated loading issue

    Hi all,
    One issue I have to solve. The loading process is as follow:
    One cube (A) which loads data from R3 with delta mechnism, then A will post data into cube (B) and two ODSs with delta using one InfoPackage, after this this two ODSs will post data into a cube (C) with delta. All above loadings are in one process chain and daily run. The last step is that cube C will post data into cube D once a month with full load.
    Now somehow some data is wrong in Cube A, these data has to be deleted and load again from R3. So my question is to correctly complete this whole loading process what the step by step is  I need to do ?
    Thanks in advance.

    Hi,
    In continue with Loyee message.
    Case1: If the worng data is updated to all the targets?? If Yes, then do the selective deletion, and run the repair full with the same selectiosn. Now from the cube A to other targets run the delta pakacge...it will take it up..
    Case 2: If the wrong data is updated to Only target A?, if yes, then do the selective deletion Only in Cube A and run the repair full with same selections, run the delta to other targets..
    Hope this will helps you
    Regards
    Mandadi

  • Complicated analytics issue... well, for me anyway

    Hi all.
    For the sake of simplicity, I'll say I have a table that looks like this (simplified version of Kimball's employee monthly snapshot fact)
    EMPLOYEE_TRANSACTION_KEY
    LAST_DAY_OF_MONTH (date)
    FISCAL_YEAR (4 digit year)
    FISCAL_MONTH_NUM (1-12... our fiscal year runs Jul-Jun)
    MONTH_ABBR (month abbreviation)
    ACTIVE_COUNT (=1 if the employee transaction is "active" at the end of the month)
    HIRED_COUNT (=1 if the employee transaction represents a "hire")
    I need to create a crosstab report that shows month abbreviation on the left axis, fiscal year on the top axis, and for the data elements:
    hires to date: running total of hires for the fiscal year (this is easy)
    cumulative count: active count from last month of previous fiscal year + running total of hires
    e.g. if at the end of FY06 (Jun 30) there were 5000 employees, then 100 hired in July, 50 hired in August, the August row should have "5150" as the cumulative count.
    Yikes.
    Thoughts?
    -John

    I've solved this to some extent (more below) using analytics.
    First, I created a "Year End Active Count"calculation that = 1 if the row is from the last month of the fiscal year.
    Next, I summed that value ("Current Year End Active Sum") using the analytic SUM function... so that every row in my report output has the year end active count in it.
    Next, I created a calculation using LAG to pull the previous year's "Current Year End Active Sum"--actually, it pulls the value 12 rows before the current row--so that gives me the active count from the end of the previous fiscal year (or the start of the current fiscal year... depending on how you look at it) for each row in my report.
    I can use that last piece along with my YTD Hires to get my desired calculation (Cumulative Active Headcount).
    So yeah, I went crazy nuts with the analytic functions, and it more or less works.
    I say "more or less" because the example I gave above was simplified. What I'm really trying to do is use Cumulative Active Heacount in ANOTHER calculation (YTD Terminations / Cumulative Active Count) ... and unless I include all of these functions in the worksheet output, I get an invalid identifier error when I run the report.
    Any tips on resolving ORA-00904 invalid identifier issues would be welcome.
    Thanks!
    -John

  • CF8 ODBC performance issues w/ SQL 2K5

    Problem: A basic "select *" query returning 5 rows is taking
    a little over 5000ms.
    Platform: Vista Business, CF8 Developer, MS SQL 2K5 Developer
    SP2, ODBC Socket using trusted connection
    I ran a query against cfartgallery without any performance
    problems. Leads me to believe this is an ODBC issue.
    (Server monitor memory tracking is off.)
    Does anybody have any suggested fixes? Thank you.

    gdemaria -
    I reverted back to using MX7 rather than 8.
    I tried using the JDBC driver, which is the default driver on
    the first screen--where you have to specify a username and password
    and you connect over port 1433-- but I couldn't get that to work.
    (This is probably a problem with my SQL server configuration.)
    My plan is to play around some more with the JDBC driver. Or,
    wait and see if I get an ODBC solution from the forum here. For now
    I will develop on MX7 and use CF8 in the live hosting
    environment---not an ideal situation, but it's workable.

  • ITunes issues - corruption, confusion, replication,

    Hi,
    I'm sure this is really simple and over time i have completed complicated the issue and i just need some clarity.... here goes....
    SET UP
    Synology Nas with a share on it called iTunes (for the purpose of this lets call it the U:\)
    Desktop pc running windows 7 ultimate
    mac book pro retina with osx
    Apple TV
    iPad mini
    iPad 2
    iPhone 5s
    iPod nano (6th Gen)
    History:
    A while ago I decided to move my iTunes library onto my nas drive to be able to access it from my laptop and apple tv etc. Somehow the library file or database corrupted and wiped half of my playlists, songs etc. I ended up manually sorting everything out (TWICE!!). this also wiped my iphone backup and subsequently my iphone when i plugged it in next.
    After purchasing my mac book a few weeks ago I was hesitant to mess around with a working library but today I took the plunge. and wish I hadn't. Sudenly all my playlists could not find the associated tracks either on my pc or macbook. Fortunately i have a backup library file so i copied and renamed it and all seems ok. until i try to point to that file on my macbook at which point it starts updating the library and off we go again.
    How I add files to iTunes
    Now i know this isnt the right way to go about using iTunes but its how i first started using it years ago (iphone 3 days) and since then its grown and grown and i havent been able to sort it out. so this is how i add music to my library and playlists:
    U:\Manual copy\iTunes library folder - DO NOT DELETE OR MOVE!! - I place the mp3 in this folder
    Then in iTunes File > Add file (select the file, sorted by date order so its the first one in the list, and add)
    In songs, select the file, right click and add to the playlists i want it in.
    This essentially means i have two copies of the file right? assuming iTunes creates a backup or a copy somewhere?
    iTunes Settings:
    My Current settings:
    The library file is located in: U:\iTunes Media Folder:
    My Current File Structure (on the iTunes share)
    This just looks like a mess now and i have no idea whats what any more. ive expanded the folders i think are relevent.
    So what am i after?
    ideally i want to wipe the whole **** lot and start fresh. But my folder sizes are so huge im wary of loosing so much music, and having to rebuild 170 odd playlists - I setup albums as individual playlists and have different playlists for moods, genre, etc. Folder sizes:
    U:\iTunes Media Folder\music - 81.2GB, 11,886 files
    U:\iTunes Media Folder\manual copy\iTunes library folder - DO NOT DELETE OR MOVE!! - 32.5GB, 4503 files
    i can see from Songs in iTunes that i have 11,596 songs added to the library. sorting by name shows that i have at least 3 copies of each song somehow!? ium guessing that happend when the original corruption occured and was a result of me panicking and trying to fix it.
    So what is the easiest way to fix this? i really do not want to spend hour upon hour of starting a whole new library and adding each song one by one, or having to rebuild playlists (which are on all my mobile devices except the iPad mini). 
    im also extremely weary of loosing my iphone backups and connecting my phone to itunes again incase i loose everything.
    Can anyone give me some clear advice on how i should go about fixing this please? i tried looking through the community but i just got more confused.
    if you need any further info / screenshots please ask.
    Many thanks.
    Hiten

    Thanks for the reply, i double checked and everything on both pc and mac is set right:
    both are opening the same .itl file
    both have the media folder set to <NAS>/iTunes/iTunes Media
    both have the two check boxes ticked (keep folder organised and copy) <------ could this be the problem?
    So this is exactly what happens step by step, after having just restored from a backup:
    PC
    First I open iTunes on the pc, play some tracks - all fine.
    Exit iTunes
    Wait a minute or two whilst anything saves etc (just incase)
    MAC
    open Itunes on the mac (its already pointing to the right library)
    it says "updating library" - really quick - maybe 10 seconds
    all the songs look fine, until i try to play one.
    the song could not be found, would you like to locate it? - click no.
    Exit iTunes
    wait a minute
    PC Again
    open iTunes on the pc again
    "updating iTunes library" - takes a while - a lot longer than it took on the mac - approx 4-5 minutes
    now all of the tracks have a "!" next to them
    exit iTunes
    wait a minute
    Mac Again
    open iTunes on the mac again
    "updating iTunes library" - really quick again
    now all the songs have the "!" next to them too.
    exit iTunes
    restore from backup again
    Not really sure why its doing that to be honest.
    Any ideas?
    Regards,
    Hiten

  • ODBC error occurred while executing SQLExtendedFetch to retrieve the result

    Good morning everyone,
    I had the following error message while trying to run a simple query in Answers with 3 dimensional columns, 1 fact, and 4 calculated facts...
    "State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1001 code: 0 message: [Oracle][ODBC]Memory allocation error.. [nQSError: 16011] ODBC error occurred while executing SQLExtendedFetch to retrieve the results of a SQL statement. (HY000)
    It's taking around 2,5 minutes to run, then it give that error message.
    Has anyone got any ideas on where I should get started?
    Update: after 2nd time - it's running fine....I've added a filter...could this be the issue? Too many rows initially?

    Damon,
    you were correct - it was indeed an ODBC issue. Switching to OCI has fixed the issue. This link was also very helpful:
    regarding performance
    In my case, the problem with OCI happened because I was using System DSN name instead of how it's called in tnsnames.

  • ODBC goes dead after migrating to intel mac

    On my G4 powerbook, I had a full complement of ODBC DSNs connecting to various databases. I used the migration assistant to move my applications and files to a new MacBook Pro. I tested each application before wiping the old computer and getting rid of it. Just as soon as I did that, the ODBC stopped working. Any application that uses ODBC gets the same result, "cannot load driver" I tried installing intel versions of the same drivers, but same answer. It's failing at any/every attempt to connect to a database, including on localhost.
    Where can I get help fixing ODBC issues?

    this was bizarre. mysql odbc connectors failed until I installed an openlink odbc driver. Then, everthing worked.

  • Allocation Issue

    Hi all,
    I have a complicated allocation issue. I want to know i have any chance to do?
    I have a dimension(MARK) in that i have material group members like 1000, 2000, 3000, 4000.
    And i have also a dimension(MATERIAL) in that i have material members like 000000001,000000002,000000003.
    And i have a property ZMARK in MATERIAL DIMENSION. And members like 1000, 2000,3000,4000.
    I enter the data to MARK. And I want to allocate this value to MATERIAL where MATERIAL.ZMARK=MARK
    SO:
    SELECT(%V_MARK%,[ID],MARK,"[M]='M1'")
    Output------>   1000, 1001, 1002, 1003, 1004
    RUNALLOCATION
    *DIM ACCOUNT WHAT=G1000;  WHERE=<<<;       USING=G2000;    TOTAL=<<<;
    *DIM MARK          WHAT=%V_MARK%;     WHERE=<<<;           USING=<<<;     TOTAL=<<<;
    *DIM MATERIAL      WHAT=NS;       WHERE=[ZMARK]=%V_MARK%;      USING=<<<;    TOTAL=<<<;
    ENDALLOCATION
    ex: first step;
    *DIM ACCOUNT WHAT=G1000;  WHERE=<<<;       USING=G2000;    TOTAL=<<<;
    *DIM MARK          WHAT=1000;     WHERE=<<<;           USING=<<<;     TOTAL=<<<;
    *DIM MATERIAL      WHAT=NS;       WHERE=[ZMARK]=1000;      USING=<<<;   TOTAL=<<<;
    ex: second step;
    *DIM ACCOUNT WHAT=G1000;  WHERE=<<<;       USING=G2000;   TOTAL=<<<;
    *DIM MARK          WHAT=1001;     WHERE=<<<;           USING=<<<;    TOTAL=<<<;
    *DIM MATERIAL      WHAT=NS;       WHERE=[ZMARK]=1001;      USING=<<<;     TOTAL=<<<;
    Is there any way to do this? Can i use a for statement in allocation?
    Thanks in advance.
    Burak

    Hi Burak,
    It's not very clear what you are trying to do since example with a variable does (or supposed to do) something different from what your example with constants does. Example with varaible will take values from MARK records that are in %V_MARK% and allocate them to all MATERIAL records that have ZMARK in same varaible. On the other side, example with constants will do similar thing, but just one MARK value at a time. Diffrence here is that in the first case it distributes the total value while in the second case values only inside one MARK are allocated. Unless ACCOUNT G2000 have same values across different MARKs those two allocations will deliver different results.
    So, if what you want to achieve is described in your example with constants than FOR/NEXT will help you. You can put something like
    *FOR %ONE_MARK% = %V_MARK%
    *DIM ACCOUNT WHAT=G1000;  WHERE=<<<;       USING=G2000;    TOTAL=<<<;
    *DIM MARK          WHAT=%ONE_MARK%;     WHERE=<<<;           USING=<<<;     TOTAL=<<<;
    *DIM MATERIAL      WHAT=NS;       WHERE=[ZMARK]=%ONE_MARK%;      USING=<<<;    TOTAL=<<<;
    *NEXT
    This will generate as many allocations as many values you have in %V_MARK%.
    Please let me now if want the first option.
    Regards,
    Gersh

Maybe you are looking for

  • Why poor quality slide show?

    I own a 20" iMac purchased last January. I just produced my first slide show by sending some travel photos from iPhoto to iDVD and then burning them to a DVD. The results were very disappointing. The photos looked poor, either when viewing them on my

  • Performance Issue while assigning serial numbers (serialized Items)

    Hi, Receiving serialized items currently in Oracle ERP is a time consuming process. At reciept level when we are assigning serial number for a particular Item in the serial entry Form (serial_entry Block) taking long time. For large Quantity its taki

  • Iphone 4 will not download the new ios update  ?

    I deleted every app (including numerous apps iI had to pay for) on my iphone4 because the update could not be completed due to a storage shortage.  Now I paid $20 to get more storage and I find out after the fact that the additional storage i got was

  • Relocating photos that are not stack picks

    My current workflow plan says - 1) import photos from camera as managed masters 2) grade each photo up to 5*. 3) Keep the 5* photos and sync to iPad/iPhone. 4) Relocate the masters that have less than 5* onto a backup disk The problem I have is that

  • Second and further reader instances forces "smooth text" on ?

    Hello, Runing Adobe Reader v9.3 on Windows 7 64bit. I allways use "smooth text" off ("Edit->Preferences...->Page Display->Rendering->Smooth Text"  none) because content looks best to me - and this is the way I like it. I noticed following problem (bu