RMAN script gives error when scheduled

Hi,
I have this rman script....
run {
allocate channel 'dev_0' type 'sbt_tape'
parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=TPRD,OB2BARLIST=test TPRD)';
backup incremental level <incr_level>
format 'test TPRD<TPRD_%s:%t:%p>.dbf'
database;
backup
format 'test TPRD<TPRD_%s:%t:%p>.dbf'
archivelog all;
backup
format 'test TPRD<TPRD_%s:%t:%p>.dbf'
current controlfile;
When this script is executed to run at the present moment, it gives no problems. However, when this script is scheduled and when executed at the scheduled time, it gives the following error:
RMAN> CONNECT TARGET *
2> run {
3> allocate channel 'dev_0' type 'sbt_tape'
4> parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=TPRD,OB2BARLIST=test TPRD,OB2BARHOSTNAME=+server.com+)';
5> backup incremental level
6> format
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "format": expecting one of: "equal, integer"
RMAN-01007: at line 6 column 1 file: C:/ob2.cmdfile.12274.c1e9.rman
[Major] From: ob2rman@+server.com+ "TPRD" Time: 2-11-2009 13:35:16
The database reported error while performing requested operation.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "format": expecting one of: "equal, integer"
RMAN-01007: at line 6 column 1 file: C:/ob2.cmdfile.12274.c1e9.rman
[Major] From: ob2rman@+server.com+ "TPRD" Time: 2-11-2009 13:35:16
Oracle Recovery Manager completed with errors.
Does anyone know what the problem is and why it only gives the error when it is scheduled and not otherwise?
Thanks in advance.

Hi user629987,
The error comes from the following line
backup incremental level <incr_level>(found "format": expecting one of: "equal, integer"
see link:
http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta9.htm#78484)
Can you replace it with
backup incremental level 0and retry?
Might be you have to adjust your format string to avoid <, > and : characters.
Regards,
Tycho

Similar Messages

  • Shell Script gives error when run through cron job.

    Hi,
    The following shell script runs without any problem when executed manulally.
    USED=$(df -h /arch | tail -1 | awk '{print $5}' | cut -d '%' -f 1)
    if [ ${USED} -gt 90 ]
    then
    find /arch/AUBUAT/ -type f -mtime +0 | xargs rm
    find /arch/AUBMIG/ -type f -mtime +0 | xargs rm
    fi
    But the same gives below error when called from a cron job:
    /backup/arch_test.sh: syntax error at line 1: `USED=$' unexpected
    We are running following version:
    bash-3.00$ uname -a
    SunOS uaeaubdbdr01.aub.af 5.10 Generic_141444-09 sun4u sparc SUNW,SPARC-Enterprise
    Kindly assist.
    Thanks
    Edited by: user13362786 on Apr 20, 2011 4:36 AM

    Hi,
    When I used #!/usr/bin/sh now even the manul execution of the script fails with the same err:
    bash-3.00$ ./arch_test.sh
    ./arch_test.sh: syntax error at line 2: `USED=$' unexpected
    And when I used #!/usr/bin/ksh the manual execution runs fine but again when the script is run from cronjob it now give dirrect err:
    /backup/arch_test.sh[2]: df: not found
    /backup/arch_test.sh[2]: tail: not found
    /backup/arch_test.sh[2]: cut: not found
    /backup/arch_test.sh[2]: awk: not found
    /backup/arch_test.sh[3]: test: argument expected

  • Error message "Error when scheduling the query(JOB_CLOSE)".

    Hi all,
    While using query extractor (rscrm_bapi) I am getting error message "Error when scheduling the query(JOB_CLOSE)".
    Could you please find what this error is?
    Thanks,
    Uday.

    Hi Uday,
    This problem can occur if you changed the query definition.
    In this case the query definition would be inconsistent with the existing extract structure.
    Certain Meta information is maintained with each extract defined using the RSCRM_BAPI. If the definition of the query is changed and you need to use the same extract table then you need to delete the extract using the report RSCRMBW_DEL_ALL_EXTRACTS selecting the extract you want
    to delete.
    After this you could use the same table name for any further extract that you need to create.
    One caution is that the extract table should not be deleted through any other transaction before you run the report.
    Rgds,
    Colum

  • Error when scheduling job (JOB_SUBMIT) when execute PC in WAD

    Dear BIers,
      I execute a Process Chain in commond button of WAD, however, I got the error message:
      Job BI_PROCESS_DTP_LOAD could not be scheduled. Termination with returncode 8
      Returncode '8' means ' Error when scheduling job (JOB_SUBMIT).
    Any suggestions are appreciated.
    B.R
    Gerald

    Dear Raju,
    Have you checked SM21? Maybe you have a problem with your TemSe object. If this is the case a basis guy should know how to handle it.
    Greetings,
    Stefan

  • Getting error when schedule a webi report

    Hi All,
    I am getting error "Cannot initialize Report Engine server. (Error: RWI 00226) Error: INF) while schedule a Webi report.
    Could anyone help me regarding the error?
    Regards

    Hai
    Check this Links
    http://www.sap-forum.org/f22/smtp-error-when-scheduling-webi-report-t483/
    http://www.businessobjectstips.com/tips/server/sizing-limits-to-web-intelligence-report-server-maximum-simultaneous-connections/

  • Outlook 2010 gives error when opening a PowerPoint attachment.

    Outlook 2010 gives error when opening a PowerPoint attachment. 
    Hi All,
    We have several VIP employees that are getting the following error on all PowerPoint documents that come as attachments from Outlook.
    I have researched and tried the following steps and verified these settings are already applied.
    I did find a work around but not a fix and our security team will NOT allow me to change this setting however if I uncheck the setting all employees can open the outlook attachment.
    Any other ideas on a fix for this if I am unable to uncheck Enable Protected View.

    Hi Matthew,
    This is a perennial problem, here is a thread which has a deep discussion about this issue:
    http://social.technet.microsoft.com/Forums/office/en-US/07f710a5-a6ca-4256-8f27-6aac41a6b37e/outlook-2010-unable-to-open-word-excel-and-power-point-attachments-from-an-email?forum=outlook
    It looks like nobady really find a solution there, the only workaround is what you have found - change the protected view setting in Trust Center. You will lose some security by doing this but it seems to be the only solid solution currently.

  • Getting server error. CrystalEnterprise.Smtp:  error when scheduled a webi

    Getting server error. CrystalEnterprise.Smtp:  error when scheduled a webi report to save as excel and send to an email account. What things to look for?

    yes you should read the administration documents,
    go to CMC, find "servers"
    then  "destination job server"
    then click the "destination " tab
    you will find some parameters, you have to configure it you.
    the same scenario will be done to the "web intelligence job server"
    good luck
    Amr

  • Workflow status web part gives error when going back to previous stage (using GO TO) in Project Server 2013 workflow

    Hi,
    Workflow status web part gives error when going back to previous stage (using GO TO) transition activity  in Project Server 2013 workflow.
    Please guide how to create a workflow which restarts from a desired stage.

    Thanks for your prompt reply....
    It gives following error
    Workflow Status
    This Web Part was unable to load.
    Information that may be useful in solving this problem was written to the Unified Logging Service (ULS) log on the Project Web App with the following ID: e95a9c9c-1f68-90d7-0a3e-5951df70fec6
    For more information, contact your Project Web App administrator.
    what do you mean to restart the Project Server 2013 with different project name, please elaborate....

  • Good morning, my photoshop stopped working, it gives error when started, what can it be?  This is the message that appears: Unable to start the program it took a unexpected end of file  I hope answer

    Good morning, my photoshop stopped working, it gives error when started, what can it be?
    This is the message that appears:
    Unable to start the program it took a unexpected end of file
    I hope answer

    Could not initialize Photoshop because an unexpected end-of-file was encountered. | Mylenium's Error Code Database
    Mylenium

  • Rman hot backup script  gives error in R12.

    hi experts
    i m facing following prob when run the backup script. 1 day before the same script runs correctily but now  it gives me error at the allocatioion of channel rest of command run correctly.
    [root@testerp rman_log]# cat UAT_daily_rman_hot_bkp_01-11-14_140301.log
    -bash: /root/.bash_profile: Permission denied
    Recovery Manager: Release 11.1.0.7.0 - Production on Sat Jan 11 14:03:01 2014
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    connected to target database: UAT (DBID=2855851979)
    connected to recovery catalog database
    RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "end-of-file": expecting one of: "allocate, alter, advise, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, repair, }, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
    RMAN-01007: at line 12 column 1 file: standard input
    RMAN>
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c2
    RMAN-01007: at line 1 column 18 file: standard input
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c3
    RMAN-01007: at line 1 column 18 file: standard input
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "for"
    RMAN-01008: the bad identifier was: c4
    RMAN-01007: at line 1 column 18 file: standard input
    RMAN>
    Starting backup at 11-JAN-14
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=362 device type=DISK
    channel ORA_DISK_1: starting incremental level 1 datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00021 name=/d06/UAT/proddata/a_txn_data06.dbf
    input datafile file number=00392 name=/d06/UAT/db/apps_st/data/a_txn_data01.dbf
    input datafile file number=00401 name=/d06/UAT/db/apps_st/data/a_txn_data02.dbf
    input datafile file number=00402 name=/d06/UAT/db/apps_st/data/a_txn_data03.dbf
    input datafile file number=00022 name=/d06/UAT/proddata/a_txn_data07.dbf
    input datafile file number=00014 name=/d06/UAT/db/apps_st/data/a_txn_data04.dbf
    input datafile file number=00020 name=/d06/UAT/proddata/a_txn_data05.dbf
    input datafile file number=00011 name=/d06/UAT/db/apps_st/data/sysaux01.dbf
    input datafile file number=00018 name=/d06/UAT/db/apps_st/data/sysaux02.dbf
    input datafile file number=00023 name=/d06/UAT/proddata/a_txn_data08.dbf
    input datafile file number=00379 name=/d06/UAT/db/apps_st/data/undo01.dbf
    input datafile file number=00024 name=/d06/UAT/proddata/sysaux03.dbf
    input datafile file number=00025 name=/d06/UAT/proddata/sysaux04.dbf
    input datafile file number=00033 name=/d06/UAT/proddata/a_txn_ind11.dbf
    input datafile file number=00029 name=/d06/UAT/proddata/a_txn_ind09.dbf
    input datafile file number=00030 name=/d06/UAT/proddata/a_txn_ind10.dbf
    input datafile file number=00015 name=/d06/UAT/db/apps_st/data/a_txn_ind06.dbf
    input datafile file number=00026 name=/d06/UAT/db/apps_st/data/a_txn_ind07.dbf
    input datafile file number=00028 name=/d06/UAT/db/apps_st/data/a_txn_ind08.dbf
    input datafile file number=00393 name=/d06/UAT/db/apps_st/data/a_txn_ind01.dbf
    input datafile file number=00403 name=/d06/UAT/db/apps_st/data/a_txn_ind02.dbf
    input datafile file number=00404 name=/d06/UAT/db/apps_st/data/a_txn_ind03.dbf
    input datafile file number=00405 name=/d06/UAT/db/apps_st/data/a_txn_ind04.dbf
    input datafile file number=00406 name=/d06/UAT/db/apps_st/data/a_txn_ind05.dbf
    input datafile file number=00400 name=/d06/UAT/db/apps_st/data/a_media01.dbf
    input datafile file number=00353 name=/d06/UAT/db/apps_st/data/system08.dbf
    input datafile file number=00013 name=/d06/UAT/db/apps_st/data/system12.dbf
    input datafile file number=00352 name=/d06/UAT/db/apps_st/data/system09.dbf
    input datafile file number=00394 name=/d06/UAT/db/apps_st/data/a_ref01.dbf
    input datafile file number=00407 name=/d06/UAT/db/apps_st/data/a_ref02.dbf
    input datafile file number=00396 name=/d06/UAT/db/apps_st/data/a_summ01.dbf
    input datafile file number=00395 name=/d06/UAT/db/apps_st/data/a_int01.dbf
    input datafile file number=00008 name=/d06/UAT/db/apps_st/data/a_queue02.dbf
    input datafile file number=00027 name=/d06/UAT/db/apps_st/data/a_queue03.dbf
    input datafile file number=00031 name=/d06/UAT/db/apps_st/data/a_queue04.dbf
    input datafile file number=00399 name=/d06/UAT/db/apps_st/data/a_queue01.dbf
    input datafile file number=00001 name=/d06/UAT/db/apps_st/data/system01.dbf
    input datafile file number=00002 name=/d06/UAT/db/apps_st/data/system02.dbf
    input datafile file number=00003 name=/d06/UAT/db/apps_st/data/system03.dbf
    input datafile file number=00004 name=/d06/UAT/db/apps_st/data/system04.dbf
    input datafile file number=00005 name=/d06/UAT/db/apps_st/data/system05.dbf
    input datafile file number=00398 name=/d06/UAT/db/apps_st/data/a_archive01.dbf
    input datafile file number=00295 name=/d06/UAT/db/apps_st/data/system06.dbf
    input datafile file number=00351 name=/d06/UAT/db/apps_st/data/system07.dbf
    input datafile file number=00354 name=/d06/UAT/db/apps_st/data/system11.dbf
    input datafile file number=00288 name=/d06/UAT/db/apps_st/data/system10.dbf
    input datafile file number=00012 name=/d06/UAT/db/apps_st/data/apps_ts_tools01.dbf
    input datafile file number=00016 name=/d06/UAT/db/apps_st/data/a_ref03.dbf
    input datafile file number=00019 name=/d06/UAT/db/apps_st/data/MLSEIGL01.dbf
    input datafile file number=00032 name=/d06/UAT/db/apps_st/data/RMAN01.dbf
    input datafile file number=00397 name=/d06/UAT/db/apps_st/data/a_nolog01.dbf
    input datafile file number=00314 name=/d06/UAT/db/apps_st/data/portal01.dbf
    input datafile file number=00017 name=/d06/UAT/db/apps_st/data/a_int02.dbf
    input datafile file number=00006 name=/d06/UAT/db/apps_st/data/ctxd01.dbf
    input datafile file number=00010 name=/d06/UAT/db/apps_st/data/olap.dbf
    input datafile file number=00009 name=/d06/UAT/db/apps_st/data/odm.dbf
    input datafile file number=00007 name=/d06/UAT/db/apps_st/data/owad01.dbf
    channel ORA_DISK_1: starting piece 1 at 11-JAN-14
    [root@testerp rman_log]#
    backup script is below:
    in this script it returns error only at the channel allocaition rest of all backup command i run manually or with scirpt it runs correctly.4
    i m not able to know why it returns error only at challnel allocation 1 day before it runs correctly.
    [orauat@testerp rman_script]$ cat rman_backup.sh
    #!/bin/sh
    #ORACLE_SID=UAT
    #BACKUP_START_TIME='date +"%y""%m""%d"_"%H""%M""%S"'
    #ORACLE_HOME=/d06/UAT/db/tech_st/11.1.0
    #PATH=$PATH:${ORACLE_HOME}:${ORACLE_HOME}/bin
    #export ORACLE_SID
    #export ORACLE_HOME
    #export PATH
    /d06/UAT/db/tech_st/11.1.0/bin/rman catalog rman/rman007 target sys/sysuat <<EOF
    run
    allocate channel c1 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_Arch_%c_%U';
    sql 'alter system switch logfile';
    sql 'alter system switch logfile';
    sql 'alter system archive log current';
    delete expired archivelog all;
    crosscheck archivelog all;
    backup archivelog all;
    delete noprompt archivelog all completed before 'sysdate-4' backed up 1 times to disk;
    allocate channel c2 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c3 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c4 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    backup incremental level 1 database;
    delete expired backup device type disk;
    delete obsolete device type disk;
    release channel c1;
    release channel c2;
    release channel c3;
    release channel c4;
    exit
    EOF
    regards
    pritesh ranjan

    yes the script is edited
    i have add some command line and edit it for take the full backup level=0 on the same directory with different formant name but location is same.
    can i take full backup level 0 and incremental backup level 1 in the same directory with the different format name.
    for exp:
    allocate channel c2 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c3 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    allocate channel c4 device type disk format '/d06/UAT/rman_hot_backup/Daily_backup%d_DB_%c_%U';
    i allocate these three channel for incremental level 1 backup;
    the backup is done successfully without any error.
    after that i have change
    allocate channel c2 device type disk format '/d06/UAT/rman_hot_backup/Weekly_backup%d_DB_%c_%U';
    allocate channel c3 device type disk format '/d06/UAT/rman_hot_backup/Weekly_backup%d_DB_%c_%U';
    allocate channel c4 device type disk format '/d06/UAT/rman_hot_backup/Weekly_backup%d_DB_%c_%U';
    backup  database incremental level 0
    after doing the above changes it get the error. with the channel location.
    i have to schedule daily incremental backup level 1 and weekly full backup level 0.
    plz suggest me i have to take incremental 1 and full incremental level 0 backup on seperate directory for different format name.
    regards
    pritesh ranjan

  • Error when scheduling the infopackage for loading Master data attributes

    Hi,
    Iam getting the following error message when scheduling this Master data Attributes ZIP_0PLANT_ATTR_FULL..( Flexible update of Master data info objects)..
    In Data load monitor error i got this following error message.
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Update rules
    Thanks

    HI,
    A caller 01, 02 or equal to or greater than 20 contains an error meesage This is an Idoc error. Please check the Idocs :
    1) SM37 job log (In source system if load is from R/3 or in BW if its a datamart load) (give request name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
    Also see if there is any 'sysfail' for any datapacket in SM37.
    2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
    3) RSMO see what is available in details tab. It may be in update rules.
    4) ST22 check if any short dump has occured.(In source system if load is from R/3 or in BW if its a datamart load)
    5) Check in SM58 and BD87 for pending tRFCs and IDOCS.
    Once you identify you can rectify the error.
    If all the records are in PSA you can pull it from the PSA to target. Else you may have to pull it again from source infoprovider.
    If its running and if you are able to see it active in SM66 you can wait for some time to let it finish. You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
    If you feel its active and running you can verify by checking if the number of records has increased in the data tables.
    SM21 - System log can also be helpful.
    Thanks,....
    Shambhu

  • OOTB workflow gives error when user rejects in the document in publishing a major version.

    Hi All,
    I am using OOTB workflow with little customization  with following configuration
    1. Allow content approval enabled
    2. Configure a workflow with following general settings true
    3. Start workflow on publish of Major version only is enabled
    4. workflow has following configuration enabled.
    Now, when user start publishing of major version and Starts the workflow. workflow starts without any problem.
    But as and when the user rejects the document it is rejected with Reject status with "Approval Status" as well as workflow status which is expected.(This is correct )
    But when i look at the workflow history i can see at last line there is an Error with
    An error has occurred in In [Workflow Name].
    Now when user check out and check in item again and try to publish with Major version again. it gives errors that the previous version is still running.
    I have trace a lot and also test with original OOTB workflow itself. it is behaving the same.
    As per my findings there is problem in "Completion condition of this task process" the end task process is not being executed correctly.
    I tried to end the task process with End the task process action but it is still not working.
    I need some help in this issue as users are facing problems in case of rejection. I hope some one has the solution for the same.
    Two things i have noticed are
    1. My MS office 2010 professional plus is expired as i was using trial version
    2. I have made stop inheriting tasks permission and remove all default groups as i have settings in workflow "Only allow task reception and process owner to read and edit workflow task"
    3. Earlier i had also installed "Sharepoint 2010 April 2012 updates". i had also observed that (installing Sharepoint 2010 April 2012 updates) before that if user has selected "Automatically rejects the document if any participant rejected". it ends
    with "rejected" status. At present it remains in inprogress and not stops with rejected status.
    Can any one give me a hint what should be the problem ? Is it a problem with latest Sharepoint 2010 April 2012 updates ?
    Thanks,
    S. M. MANIYAR

    I have done following testing.
    1. The server in which i have not installed sharepoint 2010 April 2012 updates the above scenario is working fine without any problem
    2. I have also observed following logs of error in server where April 2012 updates is installed.
    8/28/2012 03:51:41.33  w3wp.exe (0x0F08)                        0x0A00 SharePoint Foundation        
     Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 8bf7fef1-c92e-4b22-a16f-480425d3adc6 
    08/28/2012 03:51:41.33  w3wp.exe (0x0F08)                        0x0A00 SharePoint Foundation        
     Workflow Infrastructure        98d4 Unexpected System.InvalidOperationException:
    CompositeActivity cannot transition to 'Closed' status when there are active child context still exist for child activity.     at System.Workflow.ComponentModel.Activity.MarkClosed()     at System.Workflow.ComponentModel.ActivityExecutionContext.CloseActivity()    
    at Microsoft.Office.Workflow.Actions.OfficeTask.FinalClose(Object sender, EventArgs eventArgs)     at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)    
    at System.Workflow.Runtime.Scheduler.Run() 
    Following are last two lines of workflow history.
    S. M. MANIYAR

  • "generate subset" in script gives error if even number

    I am try to generate with a scipt using a PXI6551.  In the generate subset command if it is a EVEN number such as below (gree) subset(0,17) it gives the error below (red).  If it is an ODD number it works.  Is this a bug, normally you would need an even number of samples to be able to generate but with the script it seems to give the error if there is an even number?
    Thanks,
    Brian
    script myScript
       repeat 1
          Generate PRBS
       end repeat
       Generate PRBS subset(0,17) <-gives error   (0,18) does not give error
    script
    Error -1074115617 occurred at niHSDIO Write Script.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA4BDF) DAQmx Error -200032 occurred:
    Subset length specified is not valid.
    Change the subset length to be longer than zero samples and a multiple of the alignment quantum.
    Line Number: 5
    Position in Line: 18
    Subset Length: 17
    Alignment Quantum: 2
    Status Code: -200032
    Message Edited by BrianPack on 09-29-2005 04:29 PM

    Brian,
    The format (x,y) means y samples starting at position X and therefore when you specify (0,17) you would still generate 17 samples but starting at position 0. Whereas when specifying (1,17) you would generate STILL 17 samples but starting at position 1.  Therefore, in either case, you are still asking to generate an odd number of samples. Hope this helps.
    Ayman K

  • Error when scheduling a workbook

    Has anyone come accross this error before when scheduling a workbook thru the Scheduling Manager in Discoverer Plus 10gR2?
    "Exceeded maximum query size". All worksheets run to a sucessful completion when you run them one at a time.
    Thanks Brent

    Hi
    this is bug, refer to doc id: 472947.1 in metalink
    you need to download the Patch 6493304.
    regards,
    Jay

  • Error when scheduling the Process Chain

    Hi Everybody,
    I have created a process chain and executed in background then job in SM37 says it is canceled but when i check the logs  in SM37 it gives"ERROR READING JOB LOG" at the status bar. Any suggestions
    Thanks
    Raju

    Dear Raju,
    Have you checked SM21? Maybe you have a problem with your TemSe object. If this is the case a basis guy should know how to handle it.
    Greetings,
    Stefan

Maybe you are looking for