Checking output of script line by line at runtime

hi,
I am new in solaris scripting. I want to ask that is there any way to check the output of the solaris bash script line by line during runtime of script execuation.
I actually want to check the values during script execuation at runtime.
Thanks

(k)sh -x <scriptname> will show you line by line output.

Similar Messages

  • I am getting Render Filter error - Error in Symmetry initialization script: line 43: Variable name  expected. PLEASE HELP.

    Hi all,
    I have quit Creative Cloud. Checked for updates.
    Only activity that could have affected system files was to uninstall the CC apps, keeping the CC 2014 apps only.
    I need to use the render flame filter but I get the following error
    Error in Symmetry initialization script: line 43: Variable name expected
    I get this error with render tree and render frame.
    A response will be appreciated
    Thanks

    There is a "Symmetry Fill.jsx" script is Photoshop CC 2014 Preset Deco folder along with "Picture Frame.jsx" and "Tree.jsx" each of those scripts line 43 is a comment not executable code.  There are other scripts in that folder related the those rendering scripts could your folder have been corrupted somehow. I don't think uninstalling CC would have corrupted that folder for the doler fi not exist when CC was installed.
    Look at the line 43 in the files, Here is what I see on my Windows 7 Pro CC 2014 system

  • My test instrument is outputting a 5 line string but labview only read until the carriage return. how can I get it to read the whole string?

    I have a labview sub-VI reading the string being outputted by a pH meter.  The meter outputs a 5 line string and labview is only reading up to each lines carriage return, there-by giving me 5 separate strings is there anyway to rectify this and have the 5 line read as one string?
    NAS1
    St Petersburg FL
    Labview 2010

    Yes, LabVIEW will automatically update. What happens is that the old serial functions still exist in 7.1 and above but the code (the block diagram) has been modified to use VISA functions. Older versions of LabVIEW are fully supported in this manner. The only way you can avoid the automatic update is to have the old serial functions in an llb and your top level VI refer to these. Having any VI that was part of vi.lib in an llb is a very bad idea and the way to fix things is to remove any VIs in the llb that are part of the LabVIEW distribution.
    I don't remember how the old serial config worked and what the new version does with the VISA Configure Serial Port. Your program should only have a single serial config and you might just be able to directly replace that with the VISA configure Serial Port.

  • Check on multiple header line data.

    Hi All,
    I have one requirement where i need to check the multiple accounting document header line.
    Kindly suggest how to check the above requirement.
    Thanks in Advance!
    Regards,
    Chirag

    Hi All,
    Sorry for the short description.
    Currently i am validating only the one header line data of expense spread sheet file with vendor. but the now requirement has changed and there can be a multiple header line item also.
    So i need to check for each header line item whether vendor already exist or not.
    I am able to check it for 1 header line item, Kindly suggest how to check it for multiple header line item.
    Thankyou.
    Chirag

  • "No image found in subtitle script line" -- What's wrong with my FAB file import?

    I've used Encore for years, version 4 and now 5.1 on both Mac and PC (Windows 7).
    I export FAB files with bitmaps from my subtitling program and import them into subtitle tracks in Encore.
    The last few times this has not worked.  Every time I export FAB files and try to import them into Encore, I get the error message "No image found in subtitle script line."  I've used different machines and different versions (4 and 5.1) of Encore.
    There are indeed images (bitmaps) in the folder containing the FAB file.
    Is there a solution to this problem?
    Thank you!

    I don't recall anyone describing this problem. If you can post a link to a short fab script, I'll test it in an Encore project. I am CS5 only, but it is worth a shot.

  • Same sql statement gives output in different lines in 12.1.3 vs 11i

    Hi all,
    DB:11.2.0.3.0
    EBS:11i and 12.1.3
    O/S: Solaris SPARC 64 bits 5.10
    The below query gives the output in one line in 11i as expected but it gives the output in two separate lines in 12.1.3. Are there any server level settings for linesize and pagesize to be performed?
    set term off;
      set serveroutput on size 1000000;
      set feedback off;
      set pagesize 0;
      set head off;
      set linesize 72;
      set pause off;
      set colsep '';
    select
            lpad(code_combination_id,15,0)||
            rpad(to_char(start_date_active,'YYYYMMDD'),8,' ')||
            rpad(to_char(end_date_active,'YYYYMMDD'),8,' '),
            substr(SEGMENT1,1,3)||  --entity
            rpad(substr(SEGMENT2,1,6),6,' ')||  --account
            rpad(substr(SEGMENT3,1,5),5,' ')||  --costcenter
            rpad(substr(SEGMENT4,1,6),6,' ')||  --activity
            substr(SEGMENT6,1,3)||  --product
            substr(SEGMENT7,1,3)||  --service
            substr(SEGMENT5,1,3)||  --country
            substr(SEGMENT8,1,3)||  --intercompany
            rpad(substr(SEGMENT9,1,8),8,' ')||  --regional
            substr(enabled_flag,1,1) -- active flag
    from gl_code_combinations
    where last_update_date >=
          (select nvl(max(actual_start_date),'01-JAN-1951')
           from fnd_concurrent_requests
           where concurrent_program_id = (select concurrent_program_id
                                          from fnd_concurrent_programs
                                          where
                                          concurrent_program_name = 'XYZACCT')
           and status_code = 'C'
           and actual_completion_date is not null)
    order by 1;
    OUTPUT in 11i
    ============
    00000000000100020120930        7014912000000000000000000000000000000000Y
    00000000000100120120930        5014912000000000000000000000000000000000Y
    OUTPUT in 12.1.3
    ==============
    00000000000116020120930
    4881124010000000000000000000000000000000Y
    000000000001161
    6103229990000000000000000000000000000000Y
    11i and 12.1.3 should get the output in one line as per the above sql statement.
    Could anyone please share the fix on the above issue?
    Thanks for your time
    Regards,

    Hi,
    Can you confirm in what session are you running this query.
    Try this
    Column Code_Date_Range format a25
    Column Segments format a50
    set lines 300
    set pages 200
    set term off;
      set serveroutput on size 1000000;
      set feedback off;
      set pagesize 0;
      set head off;
      set linesize 72;
      set pause off;
      set colsep '';
    select
            lpad(code_combination_id,15,0)||
            rpad(to_char(start_date_active,'YYYYMMDD'),8,' ')||
            rpad(to_char(end_date_active,'YYYYMMDD'),8,' ') Code_Date_Range,
            substr(SEGMENT1,1,3)||  --entity
            rpad(substr(SEGMENT2,1,6),6,' ')||  --account
            rpad(substr(SEGMENT3,1,5),5,' ')||  --costcenter
            rpad(substr(SEGMENT4,1,6),6,' ')||  --activity
            substr(SEGMENT6,1,3)||  --product
            substr(SEGMENT7,1,3)||  --service
            substr(SEGMENT5,1,3)||  --country
            substr(SEGMENT8,1,3)||  --intercompany
            rpad(substr(SEGMENT9,1,8),8,' ')||  --regional
            substr(enabled_flag,1,1) Segments -- active flag
    from gl_code_combinations
    where last_update_date >=
          (select nvl(max(actual_start_date),'01-JAN-1951')
           from fnd_concurrent_requests
           where concurrent_program_id = (select concurrent_program_id
                                          from fnd_concurrent_programs
                                          where
                                          concurrent_program_name = 'XYZACCT')
           and status_code = 'C'
           and actual_completion_date is not null)
    For more details, please see:
    Formatting SQL*Plus Reports
    Thanks &
    Best Regards

  • On-board mike output to phone line?

    On a 10.6.8 intel desktop, can I have on-board mike output to phone line?
    Someone wants to interview me for two hours.
    How can I do that hands-free through, for example, GarageBand, or directly, or inside a Skype I'd have to add, or...?
    Kudos BTW for that slide show on Steve at "the front door".
    An iPad and and an iPhone are on my wish list. I hope Kris Kringle will be good to me this year.

    Have you tried maybe adding a viewport meta tag to the header?
    Like this:
    <meta name="viewport" content="width=device-width, initial-scale=1">
    Hope that helps.

  • Output in one line

    Hi all,
    I have a table T of the kind:
    N
    a
    a
    a
    b
    b
    b
    c
    c
    I want the result as:
    a  b    c
    3   3   2
    For that i have writtena query
    select decode(n,'a',count)a,decode(n,'b',count)b,decode(n,'c',count)c
    from(select n,count(*)count from t group by n);
    But it is giving the output as:
    a      b        c
    3
             3
                        2 How can i get the output in one line?
    Thanks

    DimaCit has given a good solution for when you know how many different values you have in advance. If you do not know this, you can code for a number that is higher than you expect or use generated sql to product the desired output. Also I allow for values that are not valid column names.
    SQL> host type tmp.sql
    set feedback off
    set termout off
    create table t (N varchar2(4));
    insert into t values ('A');
    insert into t values ('A');
    insert into t values ('A');
    insert into t values ('B');
    insert into t values ('b');
    insert into t values ('b');
    insert into t values ('c');
    insert into t values ('c');
    insert into t values ('c');
    insert into t values ('c');
    insert into t values ('c');
    insert into t values ('6');
    insert into t values ('6');
    insert into t values ('6');
    set pagesize 0
    set linesize 32767
    set trimspool on
    column nl newline
    spool tmp.ufi
    prompt select
    select
      ' count(decode(n,'''||n||
         ''',1, null)) "'||n||
         decode(rv,1,'"','",') nl
    from
    (select
       n,
       row_number() over (order by n) rn,
       row_number() over (order by n desc) rv,
       sum(1) over() tot from (select distinct n from t)
    order by rn
    prompt from t;;
    spool off
    set pagesize 50000
    set termout on
    @tmp.ufi
    drop table t;
    SQL> @tmp
             6          A          B          b          c
             3          3          1          2          5
    SQL> Edited by: Old DBA on Feb 5, 2009 8:32 PM
    Formatting

  • Error in script line install fails

    v 11 install fails and gives error in the script line as the issue

    Are you on a Windows machine?
    If yes, please download Flash Player from the following link: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header
    Then close all browsers and double-click the file you downloaded.
    Thanks,
    Sunil

  • Error in script line 2126 laserjet 1012 code o res://ieframe.dll/preview.is

    need answer as I cannot print required info.

    Hey,
    I see you are experiencing an issue when printing from Internet Explorer and receiving a Script line error 2126.  I would try looking at the information in the link below to troubleshoot the issue.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/unable-to-print-script-error-line-2126/d20...
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • I have uninstalled Flash Player and when downloading version 11.6 I get error on script line

    I have uninstalled Flash Player and am installing version 11.6 and I get "error in the script line" and the install stops. 

    Please try installing from the appropriate stand alone Windows installers located here:
    Installation Problems - Flash Player - Windows

  • Geting an error has has occured in script line 2053 how do I fix?

    Geting an error has has occured in script line 2053 how do I fix?

    HOW TO FIX ERROR  LINE2053

  • Execute script line by line ?

    Is it possible to run a Photoshop script line by line ? I'm want to debug a script and it would be helpful.

    ExtendScript Toolkit contains an editor/debugger. It's an optional download somewhere on adobe.com.

  • How we can check the output in script

    hi friends,
    iam raju. new to sap.plz any one reply to my question.
    Thanks,
    raju

    Hi Sreenivasulu,
    You can check the output of script in two ways.
    1. Directly executing your print program u can see the output of SAP Script.
    2. IF you are using any standard scripts you then need to use t-code to see the output.
    Ex: if you are copied standard SAP Script (purchase order ) <b>MEDRUCK</b> this is the standard purchase order script.
    Copy this into your Zmedruck edit it as per ur requirement then you have to assaig this script to standard print program of purchase order using <b>NACE</b> transaction. Replace MEDRUCK with Zmeduck which u hv edited. Then for Purchase order the T-code is<b> ME9F</b>  give the purchase order no and check the output. There you can see the chages you have done in the script.
    Hope this will help you.
    <b>reward if useful</b>
    Regards,
    sunil kairam.

  • How to execute ATP check and update schedule lines for existing sales order

    Hello all,
    After stock quantity has been updated, we’d like to perform ATP check and update schedule lines for sales documents which have not been delivered yet.
    Is BAPI_SALESDOCUMENT_CHANGE useful to do so?
    If so which fields should I set ‘X’?
    At the moment, I called BATCH INPUT and execute ATP check.
    But I'm wondering if this is not a smart way.
    Thank you
    Yuko

    Hi arnab
      one way of achieving your requirements is
    after creating the sales order you can execute the SALEs order MRP using MD50 transaction enter the order # and MRP control parameters 1,3,1,2. and execute.
    Ensure the following before MRP.
    1. All the master data are maintained for the schedule line creation for the components ( Source list, Scheduling agreements)
    2. Material master with valid MRP data.strategy group having MTO strategy.
    after sales order MRP you will get the schedule line created for the components
    also MRp will create the cpacity requirements as we run the MRP with Lead time scheduling.
    Hope this helps
    SK
    Reward your points

Maybe you are looking for

  • Inventory Management (Non-cumulative values)

    Dear experts, I want to extract inventory data from 2LIS_03_BF. How do I have to configure the Key figures; for example: 0VALSTCKQTY. Is there a need to use Non-cumulative value with in- and outflow as in Content. Which other possibilities exist? Aft

  • Crystal Reports with Java in Unix Environment

    We have Crystal Enterprise Professional Edition and Embedded Edition v10 with us.We want to use them for generating reports in our development project. We have to generate reports as batch jobs ( scheduled jobs) for which we will have a Java Applicat

  • Clear customer items w. special G/L ind. A ; VAT - relating

    Dear all, I have below issue: When I post incoming payment, clear customer item with Special G/L Ind. A, the system posts a document which have the same VAT used in the original special G/L customer item, but this VAT doesn't have to be posted in the

  • How to add exclude criteria in the already existing group

     I have a created a group with this criteria ( Object is Windows Computer AND ( NetBIOS Computer Name Matches wildcard *-XXX*|*-SSS*|*YYY*|*ZZZ*|*PPP|*QQQ* ) AND True ) Now i got the request to exclude NetBIOS Computer Name Like  *ABCD* . in the abov

  • KM integration with LiveLink document management systems

    Is there any documentation on using the SAP KM as a passthrough or pointer to existing LiveLink instance or instances ???