It should have read values in an openscript by reading csv

Hello

I'm working on OATS. I am a beginner.

I have a csv file that contains data to select an openscript dynamically.

for example:

Col1 col2 col3 col4

A               D             E                F

B               C             G

H                               I

The data must be like that. Any number of values and any value in each cell for any column,

The user should be able to change the number of values, and the values in each column before you reproduce openscript files.

How to change the script to take the values dynamically from the csv file.

I know data can be iterated using databases. This should not be iterated. All values must be selected at the same time, and the script should be run.

Please explain in detail what changes to code that I have to do here.

datatable.importExcel("C:/OracleATS/OFT/Advance Planning Data.xlsx", true);

         String colName = "bbb";

        String cellValue1 = datatable.getValue(0, colName).toString();

          int count=0;

            do{

                info(cellValue1);
          count++;
          if(datatable.getValue(count, colName) == null){
              break;
          }
          cellValue1 = datatable.getValue(count, colName).toString();

          }while(cellValue1!="");

Try again with this...

used according to the table, 1st rank in the header

A B C D
1 AAA BBB CCC
2 A1 B1 C1
3 A2 B2 C2
4 A3 B3 C3
5 A4 C4
6 A5 C5
7 A6 C6
8 C7
9 C8
10

Kind regards

Dembélé M

Tags: Oracle Development

Similar Questions

  • It should have read GET_FILE stream with personalized service in the java class

    Hi all

    Once I run service GET_FILE with in the java class of a custom service, how can read the stream with bytes (content).
    I cannot stream content of the DataBinder object or any other. I have not found any method of DataBinder to read the stream of content.

    Please help playback of streams of content of a java class personalized service?

    Thank you in advance.

    Hello

    In a service context, here's how retrieve the content as a stream:

    IdcFileDescriptor d = this.m_fileUtils.createDescriptorForRendition (this.m_binder, FileStoreProvider.R_WEB);
    InputStream in = this.m_fileStore.getInputStream (d, null);

    The binder must contain the information (metadata) to identify the document to be retrieved.

    Roman.

  • What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?

    I have a PCI 6519 data acquisition card. I want to install it on the PC and use it outputs to control a robot. I have problems with the connections to the terminal block which is attached to the cable.

    What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?


  • I should have a RGB AND CMYK profile in my document?

    It is clear - I'm a Dum-Dum Indesign. I have problems with a booklet that I print.  The same color of blue is printing very differently.  Two blue objects on the same page so differently that one of the objects looks purple print, and is considered the blue, I was expecting.  I did a bit of reading forum, and I wonder if the problem is that I cut and pasted some graphs in Illustrator, who may use a different color profile than InDesign.

    Enter my dialog box "Assign profile" selected buttons indicate that I use both CMYK and RGB color profiles.  Maybe that's the problem?  If you use the profile only one color in a document which requires the same color consistency?

    Update:

    I just checked the color profile of one of the graphics that I imported from Illustrator, and it is a CMYK document.  As far as I know, my ID document has been also implemented CMYK.  What I've done so far is: entered in attribute profiles and disabled the RBG profile, leaving only the active CMYK profile.  But is it possible that I use two different CMYK profiles, and that's where the problem lies?  If so, how to convert at the same profile so that the blue color is consistent throughout this brochure?

    Thank you very much!

    Can you give me any advice will be much appreciated!

    Thank you

    Bryan

    These fine technical answers are probably tell you more you need to know...  Basically, if you create a document and you want to 100% match, you will work in the space of a single color, only and with a working profile.  Assigning will change the appearance of colors, but depending on the circumstances, may lose the link fatally to original color values.

    Keep a profile when you create the objects.

    If you use an object that was created in a different work profile and this profile is tied/embedded, you can convert but not assign, affect the will perhaps break the color management and alter the appearance.  The only time where you must assign is if the object has already assigned profile and that you assign is the good that should have the object.

    As mentioned, appying effects such as feathers etc. can cause changes of colour of the original intent also.

    Opportunities to combine native RGB and CMYK objects and get a full match are small, as the colors are often converted by accessing the largest laboratory as an intermediate translation (among others) color space and the result is not symmetric (if you go there and back, you do not get the same result) and it is rounded values that causes small displacements.  These changes aren't bad for web stuff but results are often unusable in the press.

    Depending on your settings in InDesign, you can properly managed color in various objects that looks bad on the screen but to properly convert PDF for printing too... but that's another story!

    Keep things simple, to work in a space!

  • I'm trying to import my IE Favorites and have read the instructions on how to do it, but the import button in the file in gray and will not let me import. Any ideas?

    I'm trying to import my IE Favorites and have read the instructions, but the import button in the file in gray and will not let me import. Any ideas?

    Try using the import option in the Bookmark Manager (also known as the name of the library)

    1. In Firefox, select the bookmarks menu, then "organize bookmarks" open library
    2. In the library, select "Import and backup" then "Import HTML.
    3. You should get I hope that the ability to import from Internet Explorer.
  • Control Panel shows that 4 GB of RAM, but product specs say I should have 8GB

    My HP Pavilion Elite HPE-250f desktop computer is supposed to get 8 GB of the RAM factory installed, but the control panel shows only 4 GB. When I run the diagnostic with the Support Assistant software it says that everything is working well, but also shows that 4 GB of RAM. I've had the computer for several months and the warranty just expired. In the past, I noticed it says 4 GB and thought that I should have bought a computer with only 4 GB, but it has always seemed strange to me. I looked towards the top of the record online and it says the HPE-250f has of 8 GB, and it also says 8 GB on the box in which it came. I didn't do any changes to the computer and never open the Cabinet. I hesitate to open the cupboard, but do not feel I should have to pay a lot of money to understand this.

    HP Pavilion Elite HPE-250f

    Windows 7 Home Premium 64-bit

    It took me a few tries - and months of frustration - but I solved the problem by carefully removing the memory cards, clean gently slots and cards and firmly the resettlement of the cards. It's been several months now, but the memory has been resolved. I had serious problems, as it is stated in this thread, with a catastrophic failure of the graphics card and HARD disk failure. I read on several posts that this particular graphics card was problematic, so I've upgraded to a Radeon HD 7700 series. I got the Core edition, which has 2 GB of memory defect to 1 GB. No problem since.

    In case of hard drive failure, it was a disaster! I replaced the HARD drive of 1 TB with a 512 GB SSD, but it kept the infection by a rootkit that I couldn't clean up. I tried cleaners virus and rootkit of several software companies with no joy. Not even the first products like Kaspersky, McAfee, Sophos, BitDefender and other companies. I reformatted the drive several times, but the hook came back in return. Finally, I brought the computer to a friend who is a computer SCIENCE professional. The rootkit probably lies in the commercial cloning software (Acronis True Image HD) that came with the SSD, it said. We loaded the operating system without using Acronis and have not had any problems since! I've also installed a WD Blue 1 TB HDD and rebuilt directories so that all libraries (Documents, photos, videos, etc.) are on the disk hard while the system is installed on the solid state drive. The upgrades were worth every penny! Now, my desktop HP 5 years computer works very well and the performance is very good even by today's standards. Boot times are much faster, too.

  • Enter a share with read rights and have read/write rights

    I have a folder with my photos on my Mac. In this folder, I have all my photos in subfolders and will add new pictures once I created the share. I want to make them accessible to my family there own PC/Mac. But only with READ ONLY. My problem is that a user (account to share on my Mac) with reading rights can access my shared with read/write rights.

    I have my Mac with 10.11.2 the following users/groups:

    • (Jens) My Admin account
    • (Erika) Account sharing
    • (Family) A group

    Group of members of the family are:

    • Jens
    • Erika

    My folder permissions to "/ Volumes/ExtHD/Bilder" are:

    • Family: read
    • Jens: Read/write
    • everyone: read

    I enabled file sharing in the system settings and the 'Pictures' folder added to the share list.

    Now I go to another Mac with Yosemite, go to network in the Finder, select the computer with the share, connect to the "Erika" and open the folder "pictures". I can generate records or files, delete files, so I have read/write rights. Why?

    Finder don't show me no option 'Erika' should have rights to write to this folder. Why is she able to delete files?

    If get you information on the drive, it is the checkbox ignore verified property?

    What is the format of the disc?

  • My 6s iphone shows that I have an email unread in my Inbox.  I have read and open any emails in my Inbox, but my phone shows an unread email.  How can I make the 1 red go?

    My 6s iphone shows that I have an unread email.  I have read and open any emails in my Inbox.  How can I make the 1 red go?

    Go to settings > Mail, Contacts, calendars > press e-mail account. Put the Mail DISABLE (display white side). To return to the home screen (it's essential!). Phone power off. Turn the phone to power back on. Mail switch must stay off - if enabled, you will need to repeat this process. If it is disabled, you did it right - turn it on and the 'ghost' post should have gone - for now. That they will probably come back until this bug is fixed permanently.

  • How to make DVD for Windows 7 which should have come with my new laptop please

    This is my first post here so please bear with me. I just bought a new laptop Lenovo Essentials B570 that comes with Windows 7 pre-installed. Previously, I used to buy Dell laptops which tend to come with the OS reinstallation DVD that check to see if they are installed on the hardware, it was bought for, but would allow us to install the OS on a new drive hard if the original one crashed. Now, Lenovo seems very complicated to allow the buyer to re - use install operating system - they should keep the same drive hard - but what happens is the disk hard breaks down and you want to install the operating system and all the drivers? The Dell DVD allows me to do exactly the same thing. Can I create a similar drive to install the OS on a new HDD as and when I want / need it please? I created two sets of DVD using the OKR - one software together using the 'system currently on the disc' and another series for 'reset to factory settings' - but what I have read on these forums these OKR discs would not work if I put a completely new hard drive. So, at least, if I can get hold of the correct version of the Windows DVD - as I paid for the license, I would be very grateful. Thank you.

    as you notice, we have already discussed this issue and the answer is if you want to keep functional okr, don't new volumes.

    beside that, you can use 3rd software to create a new volume windows cause can only create 4 volumes (which you already have 4 volumes - mbr, c, d, hidden-)

    It is your responsibility if you prefer re - partition the drive.
    (Yes, okr will be useless)

    If your drive dies hard, and if you have warranty still valid, no worries. replacement will be free.

    I have not personally tested for use okr with new empty hard disk drives, but I know it won't work. one is to clone hard drives.

    However, if you still want windows dvd, you can download and burn legally. (you may need to call microsoft to activate the windows)

    http://Forum.Lenovo.com/T5/Windows-7-discussion/computers-came-with-Windows-7-64-bit-and-we-need-win...

    hope that these AIDS.

  • Try to re - install Creative Suite: Design Standard CS6 on my PC and it says my serial number is not valid. I should have a use more?

    I did something to my pc, and my hard drive wiped cost me half a year and a half worth of work, not to mention all the programs I had installed. now try to re - download my products, install them as I meet numbers 2. My serial number that should have 2 uses is indicated as valid (although I read it directly out of the adobe Web page like I did the only other time I've used the #), and he refuses to install the main programs (PS, Illustrator, In design, etc.) stating that they are "invalid", even if they 2 were downloaded on the Adobe site.

    If the Adobe Customer Service happens to read this, its some BS because I'm not pay you $ 20/month for your product and paid to place $ 500 that you refuse to allows me to call and talk to a real person. Do you care about people who use your products, or just their wallets?

    Please see the links below.

    Hope this will help you.

    Kind regards

    Hervé Khare

  • Some of my bookmark favicons have disappeared and have been replaced by those that show a blank page. I have read many articles on the problem, but nothing has helped.

    I read many articles about this problem and have found no solution yet. Some of my favicons, which was already good, have disappered. They have been replaced by images of 'white page' where the favocons should be on my favorite Firefox toolbar. Here is a short list of them: the BBC, The Washington Post, HebCal date converter, CapitalOne, FedLoan, US Bank, The Veterans Administartion and Google. I don't recognize a pattern in the types of Web sites and ALL these favicons appear in Internet Explorer and Google Chrome... very strange. This happened more than six months ago. I have read several articles online and tried as much as I can contact here. I picked up some nasty viruses along the way help that hurts and caused enough grief that I really don't need the hunting. So I ask you all to Firefox to help, please. Thank you.

    You can check these prefs on the topic: config page to make sure that they are always default.

    • Browser.chrome.favicons
    • Browser.chrome.site_icons

    You can open the topic: config page via the address bar. You can accept the warning and click on "I'll be careful" to continue.

  • I have 'Read It Later' installed, but I can't find my list of items I have saved in the toolbar.

    I have 'Read It Later' installed, and this gives me an icon in my toolbar click to save on the web articles to read later. In a previous version of Firefox, I used to have another, second icon Read It Later in my toolbar to click to see the list of articles I had already saved, bu this second icon is no longer there. Last night, I found a download for Firefox to Read It Later and tried to download it again, thinking that perhaps that will install the second missing icon, but it does not seem to install it.

    Hello

    Please try this: (Alt + V) view > toolbars > Customize... and drag and place the icon, if any. You may also need to go into the settings of the add-on to enable: Alt + T Tools ) > modules, click on Extensions on the left. While there, you can also click on more and Home Page to visit the support site. Please also see that.

    Customize toolbars

  • iPad Pro 12.9 "sound button.  Where is he? Today just started using and should have disabled the sound.

    Where is the button main sound on iPad Pro 12.9 "? Just started using it today and should have disabled the sound by mistake and now I can't find where to turn it on.  All sounds are on in the settings section.

    The volume of the up/down buttons are on the right side of the iPad.

    http://help.Apple.com/iPad/9/

  • Is MacKeeper something that I should have?

    Is MacKeeper something that I should have on my iMac?

    Only if you want to put your Mac out of use.

    Do not install MacKeeper

  • Watch Apple should have is to measure the blood pressure?

    The most important function that the Apple watch should have is to measure blood pressure.
    All people who do physical activity or do not need this important function.
    It makes no sense one shows that supports or has to help health
    without this important mechanism.

    Cardiac measurement is more important at the time of registration or
    or even stupid messages between people with Apple Watch.

    If there is to be a function of health, which will complete.

    Thank you

    Ulisses

    Hi Ulisses

    It is a community based on the user.

    If you want to suggest that Apple consider adding monitoring of blood pressure as Apple Watch feature, you can do so here:

    https://www.Apple.com/feedback/watch.html

Maybe you are looking for