RoboHelp HTML does not generate .chm file
We have a large help system for F1 help with about 2,000 help
topics in about 50 different Word .doc files. We had used RoboHelp
for Word previously, but with the goal of generating a single .chm
help file, we tried using RoboHelp HTML to change the Word .doc
files to .htm files. RoboHelp HTML does this conversion and creates
2,000 .htm files.
When we try to generate the .chm file for the help system,
RoboHelp for HTML does not respond and does not create the .chm
file. Is RoboHelp HTML not capable of handling such a big help
system? Are there any workarounds to generate the .chm file
successfully?
Peter, thanks for your input. Here's where we are. We opened
RoboHelp HTML and converted the Word docs into .html files. Then we
were able to generate the .chm file (it worked this time) using
RoboHelp HTML. We have about 50 .gif images, and no external links.
The actual number of HTML files with help topics is close to
4,000 for this F1 field help in our application. Ideally, we would
love to have a master project with sub-projects, but it doesn't
appear as a practical alternative. The .hh file (for F1 field help)
is generated from the application by the developer and given to us.
In order to have a master project and slave projects, we
would have to manually split that automatically-generated.hh file
into individual .hh files, true? That means we would have to
correlate which .html help topic file corresponds with which map id
number, then chalk out how we want to divide the .html help topics
into individual projects that correspond to their .hh files?
This help system I inherited is 10 years old, and the
resource time we would spend (if we chose to modularize this help
system) would be gigantic in scope. If there is a simpler and
efficient way to modularize our F1 help system, I would love to
hear about it!
Similar Messages
-
SQR does not generate PDF file
Hi,
on F9 with 8.49 tools on a Win 2003 server , the SQR does not generate PDF, but only nnnnn.out and nnnnn.log files.
What might be the reason ? What should be verified ?
Thank you.Hi ...
the table that uses the output file type is PS_PRCSOUTPUTFILE , lokk into this table...
(or)
login to PIA ...
navigate to peopletools--process scheduler--system settings--process type--process output type.
select sqr and see type web and active and default are checked.
Then navigate to process output format (the next tab to the previous one)
then select process type sqr and output destination type web are selected...
then u should see *.pdf is active and default... if not make it default...
reconfigure the process scheduler(bounce the scheduler and clear cache).
that should give u pdf doc....
any questions... please update
Thnks! -
Robohelp 9 does not generate table headers
Hi all,
the new table style mapping works, but is of no worth for me if Robohelp is not able to generate table headers in the Word output. Having headers in Word is also a prerequisite for the first line to repeat on each new page.
Is there a way to output the first line as a header?Hi,
I can partially confirm that. HTML does have the concept of table headers, captions, footers and content. When using a table that is set up correctly, most browsers will render the table header on every printed page:
<table>
<thead>
<tr><th>First heading</th><th>Second heading</th></tr>
</thead>
<tbody>
<tr><td>Value</td><td>Value</td></td>
<tbody>
</table>
RoboHelp does not use such tables. You can manually create these tables in HTML mode. When converting that to Word, the table headings are correctly converted to a Word table heading. In my default Word template, these headers correctly repeat after every pagebreak. But when you switch to Design view, RoboHelp then removes the structure information. The above table will be recreated as:
<table>
<tr><th>First heading</th><th>Second heading</th></tr>
<tr><td>Value</td><td>Value</td></td>
</table>
This table will not have it's first row set as a header in Word.
As to what to do, I can think of two options:
- You can write a script to quickly transform the tables in your project to have a table structure that works for printed documentation. Since RoboHelp will reset your tables, you will need to execute this script every time you want to generate your Word output. Also, because the structure of the tables will be changed, you probably need to amend your css. (The first table row uses th instead of td.)
- Personally, I use default RoboHelp tables and I use the macro Peter mentioned. Peter's site contains several macro's that will greatly improve the quality of the RoboHelp Word output.
Greet,
Willam -
Robohelp install does not discuss 2 file install from .exe and .7z files
Robohelp 11 install instructions: Adobe RoboHelp 11 * Getting started
does not discuss installation other than to say insert disk and install.
I have the .exe and the .7z files from the Your Download page.
How are these used to install Robohelp?Hi There,
In order to install Robohelp, you must have 2 files ( .7z and .exe ) downloaded completely at same location / folder.
You have to run .exe file and it will extract .7z file and creates a folder Adobe Robohelp11 on your desktop which contains setup.exe file, that you can run to install Robohelp 11.
Regards,
Ajit -
Nidll.tlc does not generate .dll file
Hello all,
I have been following the tutorial at http://zone.ni.com/reference/en-XX/help/371504F-01/lvsithowto/sit_h_convert_model_to_dll/
After I click "Build", MatLab says: Successful completion of Real-Time Workshop build procedure for model: sinewave.
Except when I go into the Sine Wave\sinewave_nidell_rtw folder, there is no .dll file! Where is a dll file?
This is what my setting is in Simulink, and I click on that "Build" button to build:
Thanks.Hello,
Would you mind posting the contents of the modelsources.txt file?
Thanks,
National Instruments
Applications Engineer -
Help: External Links not coming properly in generated chm file
Hi
I am a new user of RoboHelp for Word/HTML. I am currently
having Robohelp 6. But I have also used evaluation version of
Robohelp 7.0. I am trying to convert .HLP files into .chm files.
I would like to give an example for explaining things:
Say I have two .HLP files say AHelp.hlp and BHelp.hlp. Now
AHelp contains a link to some page (say VA_X.htm) in BHelp. And
this link works correctly. When I generate CHM files from these HLP
files, then though the link is correctly highlighted in AHelp. But
it points to some incorrect page like BHelp.chm::/VA_X..htm.
Whereas in BHelp.chm the name VA_X.htm has changed into say
BHelp_Voltage_Amplifier_X.htm.
So what can I do to correct this problem so that the links
are generated correctly?
Plz help!!
Thanks
Regards
TheIlliterateHi. Sorry for the slow response. We "gurus" (ha!) are
employees like you and have to balance responding against our
workload. We do try to answer what we can when we can.
As to your specific problem, the way interhelp file links are
handled between HLP and CHM files is different. I have to admit to
not converting HLP files that had inter-help links so I may be off
the mark here. That said, I suspect your course of action will be
to go into each inter help file link and re-add it. You can do this
by double clicking on the link, clicking on the "Remote Topic"
option and selecting the CHM file to link to. You'll be asked to
copy the CHM into the project directory and then you can select the
correct topic.
I'm happy for someone else to chip in here if there is an
easier way. -
Mailing the Report Output-Does not generating file name
Dear Gurus,
The below program fulfils the "mailing the report" requirement .it sends the out put as an attachment in XLS format.But one problem exists i.e.,it does not generate filename.It gives the filename as ".XLS"(DOT XLS).
What should be done that system generates a filename?
*& Report ZTESTMAIL *
REPORT ZTESTMAIL .
tables: ekko.
parameters: p_email type somlreci1-receiver.
types: begin of t_ekpo,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
aedat type ekpo-aedat,
matnr type ekpo-matnr,
end of t_ekpo.
data: it_ekpo type standard table of t_ekpo initial size 0,
wa_ekpo type t_ekpo.
types: begin of t_charekpo,
ebeln(10) type c,
ebelp(5) type c,
aedat(8) type c,
matnr(18) type c,
end of t_charekpo.
data: wa_charekpo type t_charekpo.
data: it_message type standard table of solisti1 initial size 0
with header line.
data: it_attach type standard table of solisti1 initial size 0
with header line.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1,
gd_error type sy-subrc,
gd_reciever type sy-subrc.
t_object_header = 'Text.xls'. append t_object_header.
*START_OF_SELECTION
start-of-selection.
Retrieve sample data from table ekpo
perform data_retrieval.
Populate table with detaisl to be entered into .xls file
perform build_xls_data_table.
*END-OF-SELECTION
end-of-selection.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
perform send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'PO'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
perform initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp aedat matnr
up to 10 rows
from ekpo
into table it_ekpo.
endform. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
form build_xls_data_table.
*CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
*con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
constants:
con_tab type c value cl_abap_char_utilities=>horizontal_tab,
con_cret type c value cl_abap_char_utilities=>cr_lf.
concatenate 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
into it_attach separated by con_tab.
concatenate con_cret it_attach into it_attach.
append it_attach.
loop at it_ekpo into wa_charekpo.
concatenate wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
into it_attach separated by con_tab.
concatenate con_cret it_attach into it_attach.
append it_attach.
endloop.
endform. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
form send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
data: ld_error type sy-subrc,
ld_reciever type sy-subrc,
ld_mtitle like sodocchgi1-obj_descr,
ld_email like somlreci1-receiver,
ld_format type so_obj_tp ,
ld_attdescription type so_obj_nam ,
ld_attfilename type so_obj_des ,
ld_sender_address like soextreci1-receiver,
ld_sender_address_type like soextreci1-adr_typ,
ld_receiver like sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
clear w_doc_data.
read table it_attach index w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + strlen( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
clear t_attachment.
refresh t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
clear t_packing_list.
refresh t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
describe table it_message lines t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
append t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
describe table t_attachment lines t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
append t_packing_list.
Add the recipients email address
clear t_receivers.
refresh t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
append t_receivers.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
importing
sent_to_all = w_sent_all
tables
object_header = t_object_header
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
loop at t_receivers.
ld_receiver = t_receivers-retrn_code.
endloop.
endform.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
form initiate_mail_execute_program.
wait up to 2 seconds.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endform. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
refresh it_message.
it_message = 'Please find attached a list test ekpo records'.
append it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
Your suggestions will be appreciated and rewarded.
Thanks in advance
MuraliHi
Your pgm is not passing anything in obj_descr in packing list for excel file. If you pass a name your excel file will have that.
Regards
Sathar
perform send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'PO'
' ' *------> no value*
changing gd_error
gd_reciever.
form send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription *----> no value*
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
t_packing_list-obj_descr = ld_attdescription. -
SQLJ Translation does not create profile file
SQLJ Translation does not create profile file.
After translating a small file HelloWorld.sqlj
the following files are created:
HelloWorld_SJProfileKeys.class
HelloWorld.class
HelloWorld.java
Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
My environment variables were set up with instructions from:
http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
When I run java HelloWorld to run the .java file, I get the error:
SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
I searched the internet high and low for a similar error to mine but I could not find a match.
I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
but it does not help me.
"ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
If you see an exception such as:
java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
java.lang.ClassNotFoundException:
xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
Any ideas? Thanks in advance,
John
Helloworld.sqlj before translation:
The program HelloWorld.sqlj illustrates how to connect to a
database, and display the words "Hello World" along with
the current date.
// import required packages
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
public class HelloWorld {
public static void main(String [] args) {
java.sql.Date current_date;
try {
// connect to the database
Oracle.connect(
"jdbc:oracle:thin:@localhost:1521:orac",
"scott",
"tiger"
// get the current date from the database
#sql { SELECT sysdate INTO :current_date FROM dual };
// display message
System.out.println("Hello World! The current date is " +
current_date);
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} finally {
try {
// disconnect from the database
Oracle.close();
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} // end of main()
HelloWorld.java after translation:
/*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
The program HelloWorld.sqlj illustrates how to connect to a
database, and display the words "Hello World" along with
the current date.
// import required packages
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
public class HelloWorld {
public static void main(String [] args) {
java.sql.Date current_date;
try {
// connect to the database
Oracle.connect(
"jdbc:oracle:thin:@localhost:1521:orcl",
"scott",
"tiger"
// get the current date from the database
/*@lineinfo:generated-code*//*@lineinfo:28^7*/
// #sql { SELECT sysdate FROM dual };
sqlj.runtime.profile.RTResultSet __sJT_rtRs;
sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
synchronized (__sJT_execCtx) {
sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
try
sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
__sJT_rtRs = __sJT_result;
finally
__sJT_execCtx.releaseStatement();
try
sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
if (!__sJT_rtRs.next())
sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
current_date = __sJT_rtRs.getDate(1);
if (__sJT_rtRs.next())
sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
finally
__sJT_rtRs.close();
/*@lineinfo:user-code*//*@lineinfo:28^58*/
// display message
System.out.println("Hello World! The current date is " +
current_date);
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} finally {
try {
// disconnect from the database
Oracle.close();
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} // end of main()
}/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
private static HelloWorld_SJProfileKeys inst = null;
public static java.lang.Object getKey(int keyNum)
throws java.sql.SQLException
if (inst == null)
inst = new HelloWorld_SJProfileKeys();
return inst.keys[keyNum];
private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
private java.lang.Object[] keys;
private HelloWorld_SJProfileKeys()
throws java.sql.SQLException
keys = new java.lang.Object[1];
keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
}SQLJ Translation does not create profile file.
After translating a small file HelloWorld.sqlj
the following files are created:
HelloWorld_SJProfileKeys.class
HelloWorld.class
HelloWorld.java
Although there is a HelloWorld_SJProfileKeys.class, profile file HelloWorld_SJProfile0.ser has NOT been created.
The starting file .sqlj file HelloWorld.sqlj is taken from O'Reilly book 'Java Programming with Oracle SQLJ' by Jason Price. The file contains a valid SQL statement to display the date.
My environment variables were set up with instructions from:
http://www.onjava.com/pub/a/onjava/2001/12/05/learning_sqlj.html
When I run java HelloWorld to run the .java file, I get the error:
SQLException java.sql.SQLException: profile HelloWorld_SJProfile0 not found: java.lang.ClassNotFoundException: HelloWorld_SJProfile0
I searched the internet high and low for a similar error to mine but I could not find a match.
I read the following text from http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#translationerrors
but it does not help me.
"ClassNotFoundException: xxx.yyy_SJProfile0 for class xxx.yyy_SJProfileKeys
If you see an exception such as:
java.sql.SQLException: profile xxx.yyy_SJProfile0 not found:
java.lang.ClassNotFoundException:
xxx.yyy_SJProfile0 for class xxx.yy_SJProfileKeys
then you must ensure that the SQLJ profile(s), such as xxx/yyy_SJProfile0.ser, is available in the SQLJ runtime environment. This includes JARing this file as part of an applet deployment, or publishing it to the server via loadjava.
Any ideas? Thanks in advance,
John
Helloworld.sqlj before translation:
The program HelloWorld.sqlj illustrates how to connect to a
database, and display the words "Hello World" along with
the current date.
// import required packages
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
public class HelloWorld {
public static void main(String [] args) {
java.sql.Date current_date;
try {
// connect to the database
Oracle.connect(
"jdbc:oracle:thin:@localhost:1521:orac",
"scott",
"tiger"
// get the current date from the database
#sql { SELECT sysdate INTO :current_date FROM dual };
// display message
System.out.println("Hello World! The current date is " +
current_date);
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} finally {
try {
// disconnect from the database
Oracle.close();
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} // end of main()
HelloWorld.java after translation:
/*@lineinfo:filename=HelloWorld*//*@lineinfo:user-code*//*@lineinfo:1^1*//*
The program HelloWorld.sqlj illustrates how to connect to a
database, and display the words "Hello World" along with
the current date.
// import required packages
import java.sql.Date;
import java.sql.SQLException;
import oracle.sqlj.runtime.Oracle;
public class HelloWorld {
public static void main(String [] args) {
java.sql.Date current_date;
try {
// connect to the database
Oracle.connect(
"jdbc:oracle:thin:@localhost:1521:orcl",
"scott",
"tiger"
// get the current date from the database
/*@lineinfo:generated-code*//*@lineinfo:28^7*/
// #sql { SELECT sysdate FROM dual };
sqlj.runtime.profile.RTResultSet __sJT_rtRs;
sqlj.runtime.ConnectionContext __sJT_connCtx = sqlj.runtime.ref.DefaultContext.getDefaultContext();
if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
synchronized (__sJT_execCtx) {
sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, HelloWorld_SJProfileKeys.getKey(0), 0);
try
sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
__sJT_rtRs = __sJT_result;
finally
__sJT_execCtx.releaseStatement();
try
sqlj.runtime.ref.ResultSetIterImpl.checkColumns(__sJT_rtRs, 1);
if (!__sJT_rtRs.next())
sqlj.runtime.error.RuntimeRefErrors.raise_NO_ROW_SELECT_INTO();
current_date = __sJT_rtRs.getDate(1);
if (__sJT_rtRs.next())
sqlj.runtime.error.RuntimeRefErrors.raise_MULTI_ROW_SELECT_INTO();
finally
__sJT_rtRs.close();
/*@lineinfo:user-code*//*@lineinfo:28^58*/
// display message
System.out.println("Hello World! The current date is " +
current_date);
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} finally {
try {
// disconnect from the database
Oracle.close();
} catch ( SQLException e ) {
System.err.println("SQLException " + e);
} // end of main()
}/*@lineinfo:generated-code*/class HelloWorld_SJProfileKeys
private static HelloWorld_SJProfileKeys inst = null;
public static java.lang.Object getKey(int keyNum)
throws java.sql.SQLException
if (inst == null)
inst = new HelloWorld_SJProfileKeys();
return inst.keys[keyNum];
private final sqlj.runtime.profile.Loader loader = sqlj.runtime.RuntimeContext.getRuntime().getLoaderForClass(getClass());
private java.lang.Object[] keys;
private HelloWorld_SJProfileKeys()
throws java.sql.SQLException
keys = new java.lang.Object[1];
keys[0] = sqlj.runtime.ref.DefaultContext.getProfileKey(loader, "HelloWorld_SJProfile0");
} -
Do RH6-generated .chm files work under Vista?
Apologies for posting this question again just to move it up
in "triage" but I'd really like to hear from some of the active
responders (e.g., Grainge, Captiv8r) on this issue. To recap:
I know RH 6 cannot be installed successfully under Vista but
everything I've read (including a response on this forum from
Grainge) indicates the 6.0-generated .chm (from say, XP)
works...However, when viewing a RH 6.0-generated .chm (local not on
server) under Vista, I receive the following error in the topic
pane: "The address is not valid." Viewing the same file under XP
works fine. The TOC pane resolves but is, of course, useless.
Anyone else experiencing problems viewing RH 6.0-generated
.chm files under Vista?
Thx for any insight.
-robinHi Robin and Rick,
I have a chm file that I have generated in XP (about 35 MB in
size). In Vista I can open the file successfully by opening it like
any normal application (double-clicking icon, right-click and
choosing Open etc). However when running one of my applications in
Vista and pressing F1 or selecting the context-sensitive help in
other ways, I get the error message:
Context-sensitive help not
installed.
And the chm file fails to open. This process does work in XP
so I am thinking it is something to do with vista. Is this a known
issue/bug, or could it be my vista configuration? Can anyone
suggest a solution please?
Thanks in advance,
darkagn -
File Content Conversion Problem of not generating empty file
Hi All,
i have 3 input text files for my BPM to process.
if any of the text file is empty, i need to generate an alert message that the file is empty........but the problem is file adapter does not generate a XML message for the empty text file..........
<b>Can anybody suggest how to generate the alert if any of the 3 text files is empty.</b>
Thanks,
Rajeev GuptaRajeev~
I dont find ur mail Id in ur Business card.Post the same..I will send you across a PDF with steps to write a adapter module.You would need to extend the same to check the payload for empty data and accordingly create a XML payload with checkpointer.
For validating this value in a BPM use the FORK step and check the payload in the condition editor.
Refer to this url for the same.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm</a> -
Matrixx 7 autocode does not generate ucb and subsystem wrapper for "procedures" code style
Under matrixx 6.1.3 when procedure style code generation is specified (-procs), autocode generates subsystem and ucb style wrappers (see below):
Executing the command:
autostar -l c -o "test.c" -d "/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac" -procs "test.rtf"
* AutoCode/C Code Generator V6.1 *
* (C) Copyright 1998. Integrated Systems Inc. *
* Unpublished work; Restricted rights apply. *
* All rights reserved. Portions U.S. Patent. *
Loading 'test.rtf' ...
Initializing ...
Processing names ...
Building symbols ...
Executing '/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac' :
Generating procedures declarations ...
Generating procedures definitions ...
Generating subsystem-style wrapper (subsys_1)
around procedure tt1 ...
Generating UCB-style wrapper(s) around procedure(s) ...
Output generated in test.c.
However, matrixx 7.1.4 does not generate the wrappers. see below :
Executing the command:
autostar -l c -o "test.c" -d "/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac" -procs "test.rtf"
* AutoCode/C Code Generator V7.1 *
* (c) Copyright 1987-2004. National Instruments Corporation *
* All rights reserved. Portions U.S. Patent. *
Loading 'test.rtf' ...
Initializing ...
Processing names ...
Building symbols ...
Executing '/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac' :
Generating internal procedure declarations ...
Generating procedures definitions ...
Generating MAKEFILE in test.mk
Output generated in test.c.
Code generation complete.
Please note that the autocode user's guide for matrixx7 indicates that these wrappers are generated when -procs is specified.
-procs: Sets the template parameter procs_only_b as True, and default template only generates Procedure SuperBlocks and generates UCBsand subsystem wrappers for each of these procedures.
Is ther a way to create the same behavior under matrixx7 when -procs option is used?
ThanksHello,
These wrappers were separated into different templates. What you would need to do is to run the templates that you need. You can find these templates in the C:\Program Files\National Instruments\MATRIXx\mx_71.4\case\ACC\templates folder.
Hope this helps.
Ricardo S.
National Instruments -
I have PS CS5. It does not recognize .CR2 files from my new Canon PowerShot SX50HS camera. Can I update my CR plugin? To what version? Where can I get it?
http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
http://helpx.adobe.com/x-productkb/global/camera-raw-compatible-applications.html
Mylenium -
I have cs5 and bought new camera olympus e-m1 photoshop does not open raw files is there a patch for it?
Familiarize yourself with these tables
http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
Camera Raw-compatible Adobe applications
The E-M1 was first supported by Camera Raw 8.3 which is only compatible with CS6 and CC. It is not compatible with CS5 or lower and never will be.
Some options:
Upgrade to CS6
Join the Cloud
Download the free Adobe DNG converter, convert all the Raw E-M1 files to DNGs then edit the DNGs in CS5
Camera raw, DNG | Adobe Photoshop CC -
Upgrade with DBUA to 12c hangs while upgrade.xml does not generated
Hi together,
actually I've an upgrade problem with dbua. At a server with Oracle Linux 6 I've running an 121.0.2 GI. in that GI there are two Oracle Homes: one 12.1.0.2 wih PSU1 and one 11.2.0.4 with PSU4. I'm trying to upgrade the database "testdb" from 11.2.0.4 to 12.1.0.2 with dbua.
So I'm logged in and set all session parameters to the new 12.1.0.2 home:
$ export ORACLE_HOME=/usr/local/oracle/product/12.1.0.2/
$ export PATH=$ORACLE_HOME/bin:$PATH
After that I start the dbua. i select my testdb and wait. And still wait..... After selecting the db and dbua has getting al the database information he will hang at 0% by "Run Pre Upgrade Utility". But why?
So I've looked into trace.log from dbua:
oracle@testserver- DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
$ ll
total 96
-rw-r----- 1 ora121 oinstall 1374 Oct 17 10:56 mapfile.txt
-rw-r----- 1 ora121 oinstall 104 Oct 17 10:56 preupgdir.sql
-rw-r----- 1 ora121 oinstall 29326 Oct 17 10:56 sqls.log
-rw-r----- 1 ora121 oinstall 53994 Oct 17 10:56 trace.log
-rw-r----- 1 ora121 oinstall 0 Oct 17 10:56 trace.log.lck
ora121@QUM169 - DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
$ less trace.log
In the trace.log he tells me, that he weren't able to create a file called upgrade.xml and throws a java exception:
[Thread-77] [ 2014-10-17 10:56:28.200 CEST ] [PreUpgradeToolGroup.validate:252] validateConnectionToDB using user:=null
[Thread-77] [ 2014-10-17 10:56:28.233 CEST ] [PreUpgradeToolGroup.validate:268] create log dir obj for pre upgrade tool
[Thread-77] [ 2014-10-17 10:56:28.234 CEST ] [PreUpgradeToolGroup.validate:274] creating dir object for pre upgrade spool at/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
[Thread-77] [ 2014-10-17 10:56:28.239 CEST ] [PreUpgradeToolGroup.validate:320] Executing CREATE OR REPLACE DIRECTORY PREUPG_OUTPUT_DIR AS '/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2' using SQLEngine.
[Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:362] validationLogDir =
[Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:376] Preupgrade Utility used= /usr/local/oracle/product/12.1.0.2/rdbms/admin/preupgrd.sql
[Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:462] Executed Pre Upgrade Script successfully, now load MEP............
[Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [DbuxUtils.writeRootElementForUpgradeXML:509] Passed in upgrade xml file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml does not exist.
[Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:479] Executing preupgrade tool
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:480] Spool file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [DbuxUtils.getPreUpgradeLoader:236] upgrade.xml does not generated
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:487] Executing Preupgrade tool failed..Upgrade xml does not exist
[Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:491] upgrade.xml does not generated
[Thread-77] [ 2014-10-17 10:56:29.745 CEST ] [SQLEngine.done:2278] Done called
Exception in thread "Thread-77"
java.lang.NullPointerException
at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.prepareMaps(ValidationPage.java:1989)
at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.check(ValidationPage.java:1651)
at oracle.sysman.assistants.dbma.wizard.view.ValidationPage$Check.run(ValidationPage.java:2040)
at java.lang.Thread.run(Thread.java:682)
But why? Does anybody know that error?
Thanks a lot for help and regards,
DaveYep they are! The own group they weren't in was the asmadmin group. Amusingly I had to add them both to the asmadmin group, so that the upgrade.xml was created with the oracle 12c user and group oinstal and not with oracle 11g user and group asmadmin. I can't tell you really, why, because it is a little bit confusing why he generate a file with the correct group when I add that group to the user, which was assigned wrong before to the file ?!?!
-
Photoshop CC2014 running under window 8.1. How do I access mini bridge. It does not show under FILE or WINDOW-EXTENSIONS. Works ok with CS6
Photoshop: Spring Cleaning | PHOTOSHOP.COM BLOG
Maybe you are looking for
-
how can I change an email for authorization, the email address we used years back, is no longer a valid email address
-
My yahoo account used to work just fine,
now after the upgrade (6) I can't sent email out, it just sits in the out box. What do I do?
-
Boot camp vista can't find airport/wi-fi
I always use a wireless connection and my connection is working right now. I just installed vista using boot camp and I want to know if there is a way that I can get online while I'm on vista. It says it is missing the proper drivers or something. It
-
JSP Code completion DOES NOT WORK in JDev 9.0.3.1
Does anyone know when the next release of JDev will be? We are seriously considering dropping the use of JDev due to the bugs it has. In particular, the code completion for JSP authoring simply FAILS! This is a very very VERY nasty bug, and we are pl
-
I cannot get rid of MyWebSearch address bar in FF. I have followed directions here and done everything possible. There is not program showing that contains address. I have deleted and updated FF twice. Please help.