Notice & Contact

  • Cooperation between JenniferSoft and Caucho Technology

  • JenniferSoft USA

    360 Fairview Way Milpitas, CA 95035
    Tel : +1-408-946-5508
    Fax : +1-408-946-5509
    sales@jennifersoft.com
    tech@jennifersoft.com

    JenniferSoft Japan

    2F VillaSK Bldg,6-5-8 Sotokanda, Chiyoda-ku, Tokyo, Japan
    Tel :+81-3-5809-1600
    Fax :+81-3-5809-1610
    info.jp@jennifersoft.com

    JenniferSoft Korea

    StarValley 1104, Gasan-dong 60-11, Geumcheon-gu, Seoul, Korea
    Tel :+82-2-2027-0397
    Fax :+82-2-2027-0390
    info.ko@jennifersoft.com

    Print

    Q&A

    I faced a problem when I create report template
    [ Name: guest, Date: 08-06-19 10:10:59 ] ( ko en ja )
    Edit | Delete

    While you create report template, you have to return the “NULL” value of substring in parameter setting menu. Configuration is as follows.

    PageParam=S_DAY, G_Width, G_Height, agent_id

    PageParamName=search data(YYYYMMDD), Graph WIDTH, Graph HEIGHT, AGENT ID

    S_DAY=${J_CURRENT_DATE}

    DAY_DD=${S_DAY(6,8)} <- here

    DAY_MMDD=${S_DAY(4,8)}

    The SQL is as follows.

    SELECT x.a, x.b, AVG FROM (SELECT log_dt || substr(log_tm,1,4) a, agent_id b, concurrent_user c FROM perf_x_${DAY_DD} WHERE log_dt =’${S_DAY}’ and agent_id=’${agent_id}’) x GROUP BY x.a, x.b ORDER BY 1

    However, you may see “java.sql.SQLException: Table/View ‘PERF_X_NULL’ does not exist.” in the “jennifer.log” file. Then, set substring as ”${J_CURRENT_DATE(6,8)}” and the result value will be generated. Substring value for variables set as “NULL”.

    One more strange point is that above result appears in the window displaying SQL data in the report item list The JENNIFER version that I ‘m using is 3.2.

    Thanks.

    Use ${S_DAY(6,8)} or ${J_CURRENT_DATE(6,8)}.
    [ Name: nomin, Date: 08-07-03 19:32:56 ] ( ko en ja )
    Edit | Delete

    The problem happened when user did not set proper value on defined variables.