How to check folder availability in BODS?

How can we check if folder is present for the target file in BODS in linux system?

Use some thing like below  for your folder path in script
print(exec('ls',' -l /parent_folder/child_folder/sub_folder'));

Similar Messages

  • How to check Server availability status in jsf?

    how to check Server availability status in jsf ?

    Do "something" that would cause the server to respond; fetch a webpage, call a webservice, whatever. If it doesn't work the server isn't there, or is in a broken state.

  • How to check the availability of a SCS-Instance

    Hi.
    We want to use HP serviceguard for our HA solution - but we do not want to pay so much money for the SAP serviceguard extensions. So we do it ourselves...
    My question: how to check the availability of the SCS-Instance on regular basis on os level?
    - is it enough to check the enqueue and message server process? I don't think so :o)
    - is it enough to check the latest entry of this file?
    /usr/sap/<SID>/SCS<SYSNR>/work/available.log
    some typical entry of this file looks like these:
    Unavailable 30.04.2009 17:03:07 - 04.05.2009 11:32:33
    Available   04.05.2009 11:33:33 - 05.05.2009 17:33:05
    Available   05.05.2009 17:35:36 - 05.05.2009 17:35:36
    Available   05.05.2009 17:37:51 - 06.05.2009 08:49:11
    Other ideas?
    Thanks for your help!
    Martin

    Hi,
    what type of script you want to run at OS level, u can check the status in MMC itself if you are using windows or u can check the status in index.html informaiton page or u can use JCMON at OS level to check the status.
    -Srini

  • How to check folder sizes of the root directory on my VPS/Dedicated server via Terminal?

    Hi,
    I have following issue.
    I have a VPS with Linux OS and I'd like to check size of the folders as well as remaining space on my server.
    How can I do that via Terminal?
    I would appreciate any input.

    login into your VPS server via terminal and cd into the root of your hosted space.  Then use the df -h command to see the listing
    for i.e.
    df -h /volumes/volume_1
    Filesystem             Size   Used  Avail Capacity iused      ifree %iused  Mounted on
    //john@ds00/volume_1  457Gi   12Gi  445Gi     3%       0 18446744073709551615    0%   /Volumes/volume_1
    for you it would be something like:
    df -h [email protected]/share (ip address)

  • How to check the availability of selection

    Hello to all !
    I have a script fills in the  selected area. But if the user has not made a selection, the string Mybounds = doc.selection.bouns an error. How I can check is the selection are not ?

    You could wrap (var myBounds = app.activeDocument.selection.bounds) in a try clause.

  • How to "check for available downloads" on IPhone

    I do not have access to my computer or ITunes on my computer at this time. Is there any way to download a pre purchased album strait to my IPhone without downloading it to my computer first?

    Read this:
    When you pre-order an item, you may not be able to download it at the exact moment it becomes available for regular purchase. You’ll receive an email the same day it becomes available to let you know when you can download the item.
    Windows: http://support.apple.com/kb/PH12504
    Mac: http://support.apple.com/kb/PH1709

  • How to check iPad 2 availability (64GB Wi-FI + 3G AT&T White)

    Is anyone here who also just ordered the iPad 2 on Mar. 13 and Mar. 14, after Apple changed its shipping to 3-4 weeks? Has anyone got lucky and had their order status become "prepared for shipment" yet?
    I ordered the 64GB Wi-FI + 3G AT&T White model and the expected delivery date is April 15....
    I am also wondering how to check the availability at the local Apple retail store, BestBuy and such. There are like 3 Apple retail stores around my area. Is calling them the only way to know if they have any in stock or are going to have any?
    Has anyone been able to buy iPad 2 in an Apple retail store after March 13?
    Please share your experience. Thank you so much!

    Chris CA wrote:
    Having worked in retail before, I know its a lie that they have no way of knowing if iPad 2 is in a shipment or not. Why would they get shipments of inventory with no record of what is on the shipment?
    Many retail stores simply get what they get when it shows up at the loading dock.
    As an example, they know they get normal deliveries Tuesdays & Saturdays but a lot of places don't have a clue what is in the shipment until the driver hands them the paperwork.
    So when they say, "I don't know," it is the usually the truth.
    Someone in the store knows, usually a manager, they have ways of looking at what is coming, because I know for a fact the shipment is documented somewhere for someone to see. So while a floor sales person might not know off hand, they can find out if they really wanted to via someone who has access to the computer system. If you want to tell me its not documented anywhere in a computer system, you will be wrong. Somewhere the inventory of what is in the shipment, its kept. It might be held for certain eyes, but someone knows. Its there. Orders of unknown product are not placed, it just doesn't work like that. Sorry.
    So your point about a random worker not actually knowing my be true with symmantics, but in reality, someone there does know and can tell, but wont.

  • HT201364 When I try to download this I get a message that says I haven't got sufficient space on my startup disk. I have checked my available space on the disc and I have only 3GB free out of 500. I have hardly anything on my mac - how can this be?

    When I try to download this I get a message that says I haven't got sufficient space on my startup disk. I have checked my available space on the disc and I have only 3GB free out of 500. I have hardly anything on my mac - how can this be?

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • How to check for the sub folder in the document library Is already Exist using CSOM?

    Hi,
    My requirement is to create the  folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
    I able to check for the parent folder.
    But cant able to check the subfolder in the document library.
    How to check for  the sub folder in the document library?
    Here is the code for the folder
    IsFolder alredy Exist.
    private
    string IsFolderExist(string InputFolderName)
    string retStatus = false.ToString();
    try
    ClientContext context =
    new ClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
                context.Credentials =
    CredentialCache.DefaultCredentials;
    List list = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
    FieldCollection fields = list.Fields;
    CamlQuery camlQueryForItem =
    new CamlQuery();
                camlQueryForItem.ViewXml =
    string.Format(@"<View  Scope='RecursiveAll'>
    <Query>
                                            <Where>
    <Eq>
    <FieldRef Name='FileDirRef'/>
    <Value Type='Text'>{0}</Value>
                                                </Eq>
    </Where>
    </Query>
                                </View>",
    @"/sites/test/hcl/"
    + InputFolderName);
                Microsoft.SharePoint.Client.ListItemCollection listItems = list.GetItems(camlQueryForItem);
                context.Load(listItems);
                context.ExecuteQuery();
    if (listItems.Count > 0)
                    retStatus =
    true.ToString();
    else
                    retStatus =
    false.ToString();
    catch (Exception ex)
                retStatus =
    "X02";
    return retStatus;
    thanks
    Sundhar 

    Hi Sundhar,
    According to your description, you might want to check the existence of sub folder in a folder of a library using Client Object Model.
    Please take the code demo below for a try, it will check whether there is sub folder in a given folder:
    public static void createSubFolder(string siteUrl, string libName, string folderServerRelativeUrl)
    ClientContext clientContext = new ClientContext(siteUrl);
    List list = clientContext.Web.Lists.GetByTitle(libName);
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml =
    @"<View Scope='RecursiveAll'>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name='FSObjType' />
    <Value Type='Integer'>1</Value>
    </Eq>
    </Where>
    </Query>
    </View>";
    //camlQuery.FolderServerRelativeUrl = "/Lib1/folder1";
    camlQuery.FolderServerRelativeUrl = folderServerRelativeUrl;
    ListItemCollection items = list.GetItems(camlQuery);
    clientContext.Load(items);
    clientContext.ExecuteQuery();
    Console.WriteLine(items.Count);
    if (0 == items.Count)
    //create sub folder here
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to check whether follow on document is created for sc or po,is there any table or fm available?

    How to check whether follow on document is created for sc or po,is there any table or fm available?

    Hello Venu
    Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
    Check this: SRM Shopping cart and PO tables link
    Regards

  • How to check whether there r new txt files in a folder n file creation date

    How to check whether there r new text files in a specified folder and what is the date of creation of the text file.........?

    Hi
    I have been searching for a solution to find the date of creation of a file for over 6 months now but haven't found it. So I presume that it is not possible though I havent found any authentication of my assumption in any document.
    Cheers!
    Shailesh

  • How to check no. of NIC cards which are available in Solaris 9 server.

    How to check no. of NIC cards which are available in Solaris 9 server.
    Regards,
    Dinesh.

    Hi
    For list network cards that was sometime registered in system:
    grep network /etc/path_to_inst | awk ' { print substr($3,2,length($3) -2 ) $2 } '
    ifconfig -a show all network interfaces that curently configured
    For check that interface that was listen at first comand available or not: Try
    ifconfg <interface_name> plumb
    ifconfg <interface_name> unplumb
    Do not touch already configured interface or lost network connection.
    Regards.

  • How to make material availability check work during Work Order creation

    Hi Experts,
    Kindly advice about these matters:
    1. How to make material availability check work during Work Order creation?
    My requirement is Work Order can not be created when it has missing parts. I have set the config to '3' can not created when is has missing parts, but it still does not work.
    I have implemented SAP Notes 1148139 on my system (SAP ECC 6 Ehp 5) also, but still does not have any effect.
    I must not set the config Res./Purch Doc creation to 'immediately', because it does not fit to my user requirement. Is there anyone knows how to solve this requirement?
    2. How to make information message/ Availability check screen appear when sparepart is missing, without clicking Availability Check button? for example: appear when clicking Save button.
    Thank you
    -amoonra-

    Hi Maheswaran,
    I have implement the prerequisite notes. (Notes 790219 and 1034962). Do you know why it is still does not work?
    Thanks
    -amoonra-

  • How to check whether a file exist in the program folder or not?

    Hi guys,
    how to check whether a file exist in the program folder or not? Let is say i recieve a file name from user then i want to know if the file is there not and act on that base.
    abdul

    Look at the class java.io.File and the .exists() method:
    http://java.sun.com/j2se/1.4/docs/api/java/io/File.html

  • How can you check the availability of iPhone 5 in Apple Stores?

    I want to check the availability of iPhone 5 in my nearest Apple Store. Is there a way I can do that online? Any links?
    (Sorry that this is in the wrong category, but I couldn't find any to match it)
    Thanks in advance,
    - Daniel 

    You could possibly try ringing the store if you want to know

Maybe you are looking for

  • Need to display seqno along with his superior number

    Hi friends, I have a table adm_menus It's DDL is   CREATE TABLE "ADM_MENUS"    (     "MENU_ID" NUMBER,      "MENU_NAME" VARCHAR2(60 BYTE),      "PARENT_MENU_ID" NUMBER,      "SEQ_NO" NUMBER, "DISP_SEQ_NO" VARCHAR2(250 BYTE),      "MENU_ACTION_TYPE" V

  • White screen when publishing with CS6

    I have a strange problem, maybe someone already got it and knows how to solve it... I use Flash CS6 and suddenly when trying to publish a file I was working on for a few days now, I received a blank white screen. I checked and found that the problem

  • HOW do I get my Extreme base station and Express to join a Linksys network?

    OK... so I have FINALLY enabled my SLINGBOX to view remotely by totally removing my Airport Extreme & Express from the network look. I was told they are both routers and I have to pick one. The Linksys network works fine for all networking purposes..

  • In iTunes, it shows that there are 6 apps to be updated, but afaik that's wrong.

    This started happening a few months ago and I have ignored it and just gone about updating my apps more or less weekly, but it just went from 5 updates available to 6 -- I don't know why = is there any way to clear this out or figure it

  • Cannot see Database Views for a new Datasource

    I need to bind some text fields to a Oracle Database View (not a Database Table, I can see them fine). If I drill down into the Oracle Datasource, I don't see any of the required views. Although the schema I am using do not own these views, I have a