Using DBcursor- c_count

I am trying to use the DBcursor->c_count method to count the number of duplicate records but I not sure how to set it up.
DB *dbp;
DBC *dbcp;
DBT key;
DBT data;
long recno = 1;
long dup_records = 0;
db_recno_t *count = 0;
// Database is opened with duplicate support
dbp->cursor(dbp,NULL,&dbcp,0);
memset(&key,0,sizeof(DBT));
memset(&data,0,sizeof(DBT));
key.data = &recno;
key.size = sizeof(long);
dbcp->c_get(dbcp,&key,&data,DB_SET);
dbcp->c_count(dbcp,count,0);
This does not work.

ret = cursor->c_count(c,&count,NO_FLAGS);
I could not get this to work.
On Windows DB->cursor will not accept a reference to the count variable also the NO_FLAGS variable is undeclared.
long Count(DBC *dbcp, long recno)
     DBT key;
     DBT data;
     int ret;
     db_recno_t *count = 0;
     long total;
     count = (db_recno_t*)malloc(sizeof(db_recno_t));
     memset(&key,0,sizeof(DBT));
     memset(&data,0,sizeof(DBT));
     key.data = &recno;
     key.size = sizeof(long);
     ret = dbcp->c_get(dbcp,&key,&data,DB_SET);
     if(ret != 0)
          free(count);
          if(ret == DB_NOTFOUND)
               return(0);
          else
               printf("Count() could not get record: %s",db_strerror(ret));
exit(0);
     ret = dbcp->c_count(dbcp,count,0);
     if(ret != 0)
          free(count);
          print("Count() could not read count: %s",db_strerror(ret));
exit(0);
     total = *count;
     free(count);
     return(total);
}

Similar Messages

  • Iterate DB using DBcursor- get with DB_DBT_USERMEM flag set for DBT

    Have BDB running in TDS mode. Want to iterate over a complete database using a DBcursor from start to end. Set the DB_DBT_USERMEM flag on the DBT structure with data pointing to a fixed sized user allocated memory block to hold the contents of a single record read. Currently cursor-get fails with DB_BUFFER_SMALL. I assume that this is because cursor->get retrieves more than one record.
    Is it possible to iterate over the DB using the said cursor while allocating user-memory for only one (1) database record? Each call to cursor->get with DB_NEXT / DB_PREV / DB_FIRST /DB_LAST etc would update the single record entry.

    Hi Kedar,
    No, DBcursor->get() retrieves multiple key/data items if you're using the DB_MULTIPLE or DB_MULTIPLE_KEY flags. See "Bulk Retrieval":
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_misc_bulk.html#am_misc_bulk_get]
    You only want to retrieve a single record per call, hence are not using the aforementioned flags. In this case the DB_BUFFER_SMALL error indicates that the length of the requested/retrieved item is larger than that specified for the DBT via its "ulen" field.
    [http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/dbt.html#dbt_DB_DBT_USERMEM]
    If you want to iterate over all the records in the database (including duplicates, if the database is configured to support them) you should use the DB_NEXT flag.
    Note than when the DB_BUFFER_SMALL error is returned the "size" field of the DBT is set to the the length needed for the requested item; you can inspect that value to decide how to size your supplied buffer (or you may know in advance the size of the data items in the database).
    Here is an excerpt from the example code in "Retrieving records with a cursor" with the necessary adjustments for the data DBT:
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/am_cursor.html#am_curget]
         DB *dbp;
         DBC *dbcp;
         DBT key, data;
         int close_db, close_dbc, ret;
         /* Acquire a cursor for the database. */
         if ((ret = dbp->cursor(dbp, NULL, &dbcp, 0)) != 0) {
              dbp->err(dbp, ret, "DB->cursor");
              goto err;
         close_dbc = 1;
         /* Initialize the key/data return pair. */
         memset(&key, 0, sizeof(key));
         memset(&data, 0, sizeof(data));
         /* Retrieve data item in user suplied buffer. */
    #define BUFFER_LENGTH 1024
         if ((data.data = malloc(BUFFER_LENGTH)) == NULL)
              return (errno);
         data.ulen = BUFFER_LENGTH;
         data.flags = DB_DBT_USERMEM;
         /* You can supply your own buffer for the key as well. */
         /* Iterate through the database. */
         while ((ret = dbcp->c_get(dbcp, &key, &data, DB_NEXT)) == 0)
              /* Operate on the retrieved items. */
         if (ret != DB_NOTFOUND) {
              dbp->err(dbp, ret, "DBcursor->get");
              goto err;
    err:
         // ...Regards,
    Andrei

  • Extremely Poor Read Performance

    Hey guys,
    For a work project, I have been instructed to use a Berkeley DB as our data storage mechanism. Admittedly, I know little about BDB, but I've been learning more in the past day as I am reading up on it. I'm hoping, though, that even if no one can help me with the problem I am having, they can at least tell me if what I am seeing is typical/expected, or definitely wrong.
    Here's what I got:
    - Parent table A - Has 0 or 1 key for table B, and 0 or 1 key for table C
    - Table B
    - Table C
    For purpose of discussion, let's ignore table C as it is logically the same as Table B.
    Table B has 25 million rows, keyed by a 34-36 digit string, and a payload of 500-1000 bytes.
    Table A has 26 million rows, 25 million of which reference the 25 million rows in Table B.
    My question is not on the merits of why the data is structured the way it is, but rather about the performance I am seeing, so please refrain from questions such as "why is your data structured that way - can you structure it another way?" I know I can do that - again I just want to know what other people are experiencing for performance.
    Anyway, what's happening is this - my program runs a cursor on Table A to get all records. As it gets each record in Table A, it retrieves the referenced records in Table B. So, the cursor on table A represents sequential key access. The subsequent retrievals from Table B represent "random" retrievals - i.e. the key may be anywhere in the index, and is not at all related to the previous retrieval.
    Cruising the cursor on Table A, I am seeing performance of about 100,000 records per 2 seconds. However, when I add in the retrievals from Table B, performance stoops all the way down to 100,000 records per 1000 seconds, or better put 100 per second. At this rate, it will take nearly 70 hours to traverse my entire data set.
    My question is, am I simply running into a fundamental hardware issue in that I am doing random retrievals from Table B, and I cannot expect to see better performance than 100 retrievals per second due to all of the disk reads? Being that the DB is 20 GB in size, I cannot cache the entire table in memory, so does that mean that reading the data in this fashion is simply not feasible?
    If it isn't feasible, does anyone have a suggestion on a different way to read the data, without changing the table relationship as it currently stands? Considering Table B has a reverse reference to table A, I've considered putting a secondary index on table B so that instead of doing random seeks into table B, I can run a cursor on the secondary index of table B at the same time I run the cursor on table A. Then, for each record in table A that has a reference to table B, the first record in the cursor for table B should be the one I need. However, reading about secondary indexes, it looks like all a secondary index does is give a reference to the key to the table. Thus, my concern is that running a cursor on the secondary index of table B will really be no different than randomly selecting the records from table B, as it will be doing just that in the background anyway. Am I understanding this correctly, or would a secondary index really help in my case?
    Thank you for your time.
    -Brett

    Hi Brett,
    Is the sorting order the same between the two databases, A and B, that is, are the keys ordered in the same way? For example, to key N in database A, key N in database B is referred.
    I would guess not, because you mention the "randomness" in retrieving from B when doing the cursor sequential traversal of A, and the 34-36 digit keys in B are probably randomly generated.
    With B as a secondary database, associated to A as the primary database, it would make sense having a cursor on secondary database B to iterate, if you expect that the same ordering of keys in A (as mentioned in the beginning of this post). For example, you would use DBcursor->get to iterate in the secondary database B, or DBcursor->pget if you also want to retrieve the key from the primary database A: DBcursor->get(), DBcursor->pget()
    Basically secondary indexes allow for accessing records in a database (primary db) based on a different piece of information other than the primary key:
    Secondary indexes
    So, when you iterate with a cursor in B you would retrieve the data from A (and in addition the key from A) in the order given by the keys (secondary keys) in B.
    However, a secondary database does not seem to me feasible in your case. You seem to have about 1 mil records in primary db A for which you would not have to generate a secondary key, so you would have to return DB_DONOTINDEX from the secondary callback: DB->associate()
    (it may be difficult to account exactly for the records in A for which you do not want to generate secondary keys)
    Also, the secondary key, the 34-36 digit string, would have to somehow be derived from the primary key and data in A.
    If the ordering is not similar (in the sense explained at the beginning of the post) between A and B, then having the secondary index does not too much value, other than simplifying retrieval from A in queries where the query criteria involves the 34-36 digit string.
    Back to your current way of structuring data, there are some suggestion that could improve retrieval times:
    - try using the latest Berkeley DB release, 5.1.19: Berkeley DB Release History
    - try configuring a page size for the databases A and B equal to that of the filesystem's block size: Selecting a page size
    - try to avoid the creation of overflow items and pages by properly sizing the page size -- you can inspect database statistics using db_stat -d: db_stat
    - try increasing the cache size to a larger value: Selecting a cache size
    - if there's a single process accessing the environment, try to back the environment shared region files in per-process private memory (using DB_PRIVATE flag in the DB_ENV->open() call);
    - try performing read operations outside of transactions, that is, do not use transactional cursors.
    For reference, review these sections in the Berkeley DB Reference Guide:
    Access method tuning
    Transaction tuning
    Regards,
    Andrei

  • How to query berkeley db with multiple keys

    Hi all,
    Is there a way to query a berkeleydb using multiple keys. For example, I want to query a order record with orderID and orderDirection, orderID is a string and orderDirection is a char.
    Is there a way to do so?
    Regards,
    -Bruce

    Hi Bruce,
    Yes, you would use the same approach with a join cursor.
    Here is a simple example, simplified for brevity. Suppose the primary database "books" stores information about books, and that these books could have multiple authors. Following is some example data and the structure of these databases:
    books.db (primary db -- ISBN is primary key)
    isbn_1 | {author_1, author_2; ...}
    isbn_2 | {author_2; ...}
    isbn_3 | {author_1, author_3; ...}
    booksAuthors.db (secondary db -- author is the secondary key, the secondary key extractor generates multiple keys)
    author_1 | isbn_1
    author_1 | isbn_3
    author_2 | isbn_1
    author_2 | isbn_2
    author_3 | isbn_3
    To get the books authored by author_1 and author_2 for example, you would do the following:
    - position a cursor in the booksAuthors.db secondary db, using DBcursor->get() with the DB_SET flag, on the records whose key (secondary key) is author_1;
    The cursor will be positioned on the duplicates list for author_1:
    author_1 | isbn_1
    author_1 | isbn_3
    - position a cursor in the booksAuthors.db secondary db, using DBcursor->get() with the DB_SET flag, on the records whose key (secondary key) is author_2, hence duplicates list for author_2:
    author_2 | isbn_1
    author_2 | isbn_2
    - create a join cursor using DB->join, using the previous two cursors.
    An excerpt from the above documentation page explains the way a join cursor works:
    "Joined values are retrieved by doing a sequential iteration over the first cursor in the curslist parameter, and a nested iteration over each secondary cursor in the order they are specified in the curslist parameter. This requires database traversals to search for the current datum in all the cursors after the first."
    Hence, the data item (primary key from the primary db) that results is isbn_1.
    Regards,
    Andrei

  • Throwing DBRunRecoveryException

    Why does BDB throw DBRunRecoveryException?
    I ran BDBs "db_Recover" to fix this? Even after that if i run "db_Verify" tool it returns with "DB_VERIFY_BAD: Database verification failed" message.
    When i try to fetch a particular record using dbcursor.get method, it throws the following error
    Fatal Error (com.sleepycat.db.DbRunRecoveryException: DB_RUNRECOVERY: Fatal error, run database recovery: DB_RUNRECOVERY: Fatal error, run database recovery)
    Why should BDB throw such an exception? If it is because of data corruption, What could be the root cause of it?

    get ur answer in the below thread
    DB_RUNRECOVERY: Fatal error, run database recovery
    www.orakhoj.com

  • Problem when using sorting

    Hi,
    This is my XML data
    <?xml version="1.0" encoding="windows-1252"?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <INVARPTP>
    <LIST_G_SUBINVENTORY>
    <G_SUBINVENTORY>
    <ORGANIZATION_CODE>60</ORGANIZATION_CODE>
    <ORGANIZATION_NAME>Perth</ORGANIZATION_NAME>
    <PHYSICAL_INVENTORY>Org 60 Sept stocktake 4/9</PHYSICAL_INVENTORY>
    <SUBINVENTORY>A STORE</SUBINVENTORY>
    <LIST_G_HEADER>
    <G_HEADER>
    <ADJUSTMENT_ID/>
    <COST_GROUP_ID/>
    <PARENT_LPN/>
    <OUTERMOST_LPN/>
    <TAG>20300</TAG>
    <ITEM_ID/>
    <C_ITEM_FLEXDATA/>
    <DESCRIPTION/>
    <REVISION/>
    <PRIMARY_UOM/>
    <LOT_NUMBER/>
    <LOCATOR_ID/>
    <SERIAL_NUMBER/>
    <C_LOC_FLEXDATA/>
    <C_ITEM_VALUE/>
    <C_LOC_VALUE/>
    <CF_PARENT_LPN/>
    <CF_OUTERMOST_LPN/>
    <CF_COST_GROUP/>
    </G_HEADER>
    <G_HEADER>
    <G_HEADER>
    <ADJUSTMENT_ID>60728</ADJUSTMENT_ID>
    <COST_GROUP_ID>2042</COST_GROUP_ID>
    <PARENT_LPN/>
    <OUTERMOST_LPN/>
    <TAG>2662</TAG>
    <ITEM_ID>40116</ITEM_ID>
    <C_ITEM_FLEXDATA>29548988
    ATD</C_ITEM_FLEXDATA>
    <DESCRIPTION>KIT, FILTER 4" SUMP</DESCRIPTION>
    <REVISION/>
    <PRIMARY_UOM>EA</PRIMARY_UOM>
    <LOT_NUMBER/>
    <LOCATOR_ID>50376</LOCATOR_ID>
    <SERIAL_NUMBER/>
    <C_LOC_FLEXDATA>00
    A
    01
    B
    </C_LOC_FLEXDATA>
    <C_ITEM_VALUE>29548988.ATD</C_ITEM_VALUE>
    <C_LOC_VALUE>00.A.01.B..</C_LOC_VALUE>
    <CF_PARENT_LPN/>
    <CF_OUTERMOST_LPN/>
    <CF_COST_GROUP/>
    </G_HEADER>
    <ADJUSTMENT_ID>60761</ADJUSTMENT_ID>
    <COST_GROUP_ID>2042</COST_GROUP_ID>
    <PARENT_LPN/>
    <OUTERMOST_LPN/>
    <TAG>0133</TAG>
    <ITEM_ID>21914</ITEM_ID>
    <C_ITEM_FLEXDATA>000N05648/1
         MTU</C_ITEM_FLEXDATA>
    <DESCRIPTION>SEALING RING</DESCRIPTION>
    <REVISION/>
    <PRIMARY_UOM>EA</PRIMARY_UOM>
    <LOT_NUMBER/>
    <LOCATOR_ID>30093</LOCATOR_ID>
    <SERIAL_NUMBER/>
    <C_LOC_FLEXDATA>ABB
         001
         </C_LOC_FLEXDATA>
    <C_ITEM_VALUE>000N05648/1.MTU</C_ITEM_VALUE>
    <C_LOC_VALUE>ABB.001....</C_LOC_VALUE>
    <CF_PARENT_LPN/>
    <CF_OUTERMOST_LPN/>
    <CF_COST_GROUP/>
    </G_HEADER>
    <G_HEADER>
         <ADJUSTMENT_ID>60761</ADJUSTMENT_ID>
         <COST_GROUP_ID>2042</COST_GROUP_ID>
         <PARENT_LPN/>
         <OUTERMOST_LPN/>
         <TAG>0133</TAG>
         <ITEM_ID>21914</ITEM_ID>
         <C_ITEM_FLEXDATA>000N05648/1
         MTU</C_ITEM_FLEXDATA>
         <DESCRIPTION>SEALING RING</DESCRIPTION>
         <REVISION/>
         <PRIMARY_UOM>EA</PRIMARY_UOM>
         <LOT_NUMBER/>
         <LOCATOR_ID>30093</LOCATOR_ID>
         <SERIAL_NUMBER/>
         <C_LOC_FLEXDATA>ABB
         001
         </C_LOC_FLEXDATA>
         <C_ITEM_VALUE>000N05648/1.MTU</C_ITEM_VALUE>
         <C_LOC_VALUE>ABB.001....</C_LOC_VALUE>
         <CF_PARENT_LPN/>
         <CF_OUTERMOST_LPN/>
         <CF_COST_GROUP/>
    </G_HEADER>
    </LIST_G_HEADER>
    </G_SUBINVENTORY>
    </LIST_G_SUBINVENTORY>
    <C_COUNT>4616</C_COUNT>
    </INVARPTP>
    I am using the following code for my sorting
    <?for-each:G_HEADER?><?sort:C_LOC_VALUE;'ascending';data-type='text'?><?sort:C_ITEM_VALUE;'ascending';data-type='text'?><?sort:SERIAL_NUMBER;'ascending';data-type='text'?>
    when using the above code the data for C_LOC_VALUE with alphabets from A to Z are coming first and then the C_LOC_VALUE starting with 00 is being displayed at the end, but my requirement is to display data with 00 at the starting and then remaing alphabets in ascending order.
    Please guide how to get this.
    Best Regards,
    Mahi

    <?for-each:G_HEADER?><?sort:C_LOC_VALUE;'ascending';data-type='text'?>
    <?C_LOC_VALUE?>
    <?end for-each?>Using the above code
    Will get you the result as below
    ABB.001....
    00.A.01.B..
    00.A.01.B..Next one.
    <?for-each:G_HEADER?><?sort:C_LOC_VALUE;'ascending';data-type='number'?>
    <?C_LOC_VALUE?>
    <?end for-each?>will result in
    00.A.01.B..
    00.A.01.B..
    ABB.001....use th following
    <?for-each:G_HEADER?>
    <?sort: translate(C_LOC_VALUE,'0123456789','abcdefghij');'ascending';data-type=’text’?>
    <?C_LOC_VALUE?>
    <?end for-each?>you will see th correct result.
    00.A.01.B..
    00.A.01.B..
    ABB.001....
    DDD.001....

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

  • How can multiple family members use one account?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

    My children have iphones, ipads, ipods and mac books, my problem is how do you use home sharing with the devices and not get each others data.  My Husband just added his iphone to the account and got all of my daughters contacts.  I understand they could have there own accounts but if i buy music on itunes and both children want the same song, I don't feel i should have to pay for it twice.  Is there away we can have home sharing on the devices and they can pick and choose what they want? and is this icloud going to make it harder to keep their devices seperate?

  • Iphoto crashing after using mini-dvi to video adapter

    Hi, IPhoto on my Macbook is crashing. I can open it, then as soon as I scroll down it locks up and I have to force quit.
    This started happening right after I used a Mini-DVI to Video Adapter cable to hook my macbook up to my TV. The adapter/s-video connection worked and I was able to see the video on the tv. But iphoto immediately locked up the computer when I went to slide show and now it locks every time I open it.
    Any ideas?
    Thank you:)
    Dorothy

    It means that the issue resides in your existing Library.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • How do multiple family members use iTunes.? One account or multiple?

    How do multiple family members use iTunes. One account right now but apps gets added to all devices and iTunes messages go to all devices.  Can multiple accounts be setup and still have ability to share purchased items?

    Hey Ajtt!
    I have an article for you that can help inform you about using Apple IDs in a variety of ways:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using one Apple ID for iCloud and a different Apple ID for Store Purchases
    You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud. Just follow these steps:
    iPhone, iPad, or iPod touch:
    When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud.
    In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match). You may need to sign out first to change the Apple ID.
    Mac:
    Enter the Apple ID you want to use for iCloud in Apple () menu > System Preferences > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in Store > Sign In. In iTunes 11, you can also click iTunes Store > Quick Links: Account.
    PC (Windows 8):
    Enter the Apple ID you want to use for iCloud in the Control Panel. To access the iCloud Control Panel, move the pointer to the upper-right corner of the screen to show the Charms bar, click the Search charm, and then click the iCloud Control Panel on the left.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes. In iTunes 10, select Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    PC (Windows 7 and Vista):
    Enter the Apple ID you want to use for iCloud in Control Panel > Network and Internet > iCloud.
    Enter the Apple ID you want to use for Store purchases (including iTunes in the Cloud and iTunes Match) in iTunes 10 in Store > Sign In. In iTunes 11, click iTunes Store > Quick Links: Account.
    Note: Once a device or computer is associated with your Apple ID for your iTunes Store account, you cannot associate that device or computer with another Apple ID for 90 days. Learn more about associating a device or computer to your Apple ID.
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Using SQVI to generate report of open and released delivery schedule lines

    All,
    I'm using SQVI  to generate an excel spreadsheet for some buyers to show open released schedule lines because they are a 1 line item per scheduling agreement company.
    I used the logical database MEPOLDB instead of a table joint and pulled fields from EKKO(vendor, SA #,&purchasing group), EKPO(Material Number), EKEH(schedule line type), and EKET(delivery date, scheduled qty,previous qty).
    Does this sound like I'll get the results I want on paper as long as I use the right selection criteria, because the report I'm getting isn't quite what I expect? I am unable to identify which lines are authorized to ship vs. trade-off zone, planning, etc. in the report thus far.

    Hi Mark,
                 I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
    After generating SQVI program in DEV , I assigned that program  to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
    About authorization , if its not sensitive report, BASIS can restrict at transaction level.
    Regards,
    Ravi.

  • Using Mini DVI to VGA adapter on MacBook

    I bought the adapter from Apple & hooked up my LCD monitor to the MacBook, but the video I get on the monitor is different that on my laptop. It has an old screen background & the dock but nothing on my desktop shows up. Also, when I'm plugged to the monitor, my dock disappears on the laptop screen. Is there some setting I need to change? It worked fine with my G4 PowerBook.
    Thanks for any help....
    MacBook   Mac OS X (10.4.6)  

    i use the mini dvi-vga adapter in my classroom almost everyday. It sounds like your new monitor is running as a side by side monitor to your display instead of a "replacement" display.
    To get your projector/monitor to basically show whatever is on your macbook screen once you've hooked up press F7....this should make your projector/monitory become your display with your dock & all of your desktop stuff. Your new monitor will completely mirror your display.
    THis should do what you're looking for.

  • Using mini-DVI to VGA adapter to Samsung display

    I have 2009 late model of mac mini, The text on display looks washed out, not clear or sharp at all from day one, I thought it was the old model of monitor, tried the same cable to another monitor on another computer, SAME. so I thought the problem could be the cable or adapter.
    It's hard for me to believe is the signal from computer. I'm using VGA adapter made by Dynex bought from Best Buy.
    Anybody has suggestions?? Thanks

    Yeah, My old Samsung is lcd synmaster 17", bought many years ago at around $1000. Crazy, crazy price looked back. It's fine when I used it on the retired old Dell. It must be the adapter, trying not to buy another VGA adapter, could not image my next lcd will use one, anyway.
    This cable has only 14 pins vs 15 pins on the other cable, not sure if it matters?? Or if Safari has anything to do with it??
    Thank for you reply...

  • Using S-Video w/ the Mini DVI to Video Adapter

    I just purchased a MacBook last week and I also purchased a Mini DVI to Video adapter for it so I can use the built-in DVD player to watch movies on my TV. I have a composite to composite cable and that worked fine when I connected the cable between the Mini DVI to Video Adapter and my TV. However, when I tried to use a S-Video cable and connected that between the Mini DVI to Video Adapter and my TV; then I got no picture at all. All I saw on the TV was a picture of the MAC desktop w/o the dock and the movie or nothing else played at all.
    Is the composite connection a better connection for the MAC, or, are there some settings I need to work with on the MAC to get the S-Video connection to work?

    I managed to figure this one out, by fluke. The MacBook has to be powered on and ready for user input prior to connecting the mini DVI to video adapter with the s video already connected to it, and to the TV. Once I did it this way, it worked fine. I just thought I'd share this.

  • Using a mini-DVI to video adapter

    I have connected the video adapter and everything works fine. I use the internet for my video source and I was just wondering, is it possible to have video playing fullscreen on the tv and have another window open on my desktop that I can work with without disrupting the video from the browser? Every time I watch something I am unable to work on my computer while the video is playing.

    As far as I know, you can't go full screen on one monitor without it interfering with the other. I believe this would require a second video card, which isn't possible for a MacBook.
    ~Lyssa

Maybe you are looking for