How to extract the cobol files into owb
Hi
How to extract the cobol files in owb,I am using OWB9.2.
Ex:I am having 2 records DCEC4000100 9159000050C those values are 5 bytes 'RAVI and 6 bytes '15000'.
Using contorl file i am trying to load these into Oracle,But i am not able into insert these records into Oracle.
Can any tell me how to handle this kind of situation?
Regards,
Rupak
Good morning Ashok,
Your data is in a SQL*Loader supported datatype, so basically it should not be a problem.
Have you checked the Database Utilities guide (for Oracle9i for instance: http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96652/toc.htm) on how to handle this?
I'll also repeat my previous question, have you ever been able to load data into the database using SQL*Loader (either using ASCII values or any other datatype)?
For the OWB part, have you read "Importing Data Definitions" (typically chapter 4)? More specifically, "Specifying Field Properties" in "About Flat File Sources and Targets"?
In "SQL*Loader Properties" it says the following:
Type Describes the data type of the field for the SQL*Loader. You can use the Flat
File Sample Wizard to import the following data types: CHAR, DATE, DECIMAL
EXTERNAL, FLOAT EXTERNAL, INTEGER EXTERNAL, ZONED , AND ZONED
EXTERNAL. For complete information on SQL*Loader field and data types, refer to
Oracle9i Utilities. Currently, only portable datatypes are supported.
If you check the database utitlities guide (chapter 6 Field List Reference) and look for "SQL*Loader Datatypes", you'll find (packed) decimal under the Nonportable Datatypes. This implies that OWB does not support it.
This does not mean you can't use SQL*Loader, you'll only have to define everything separate from OWB and call it separately as well.
Good luck, Patrick
Similar Messages
-
How to break the PDF file into images?
How to break the PDF file into images? There should be settings in Photoshop CS 6 that imports PDF file and break it into images. I have a short instruction:
2. Open the file in Photoshop.
3. A new window should open to Import PDF. Click on images, not pages import pdf into Photoshop.doc
4. Select all the files shown (shift + click), Click O.K. Four files should open on your screen.
Was anybody successful with that?Whether this is available solely depends on the structure of the PDF and whether it actually contains whole images that can be extracted separately. Depending on whatgoing on in the PDF this may simply not be the case and the images have been tiled and split up in multiple "objects" whose appearance can only be retained by rasrerizing the whole page...
Mylenium -
How to recompile the COBOL files?
Hi All,
Can any one provide documentation for how to recompile the COBOL files by using Net Express 5.1 in command prompt?
Thanks in advance.
Thanks & Regards,
Siva Prasad B1. Set up two environment variables, PS_HOME and COBROOT, on the machine from which you'll compile COBOL. (This should be either your file server or a machine that has access to your file server.) You can do this from a DOS command prompt window.
set PS_HOME=C:\hr840
set COBROOT=c:\netexpress\base
2. Open a DOS command prompt window if you do not have one open already, and change directories to
<PS_HOME>\Setup.
3. Execute CBLBLD.BAT as follows
cblbld <compile drive> <compile directory>
where <compile drive> is the drive where the compile takes place, <compile directory> is the temp
directory where the compile takes place
The CBLBLD.BAT file will create the compile directory for you if it does not already exist.
Note. Make sure to include a space between the <compile drive> and <compile directory> parameters; they are treated as two different parameters within the CBLBLD.BAT batch program. Also ensure that you have write permission to <compile drive> and <compile directory> as the compile process will take place there.
For example, the following command will take the COBOL source from <PS_HOME>\src\cbl and do the compile process under c:\temp\compile:
cblbld c: \temp\compile
Make note of the information that is displayed on the screen while the process is running; it provides the locations of important files that you will need to examine. -
How to embed the html file into form 6i?
How to embed the html file into form. What control activeX should i use? please help!!!!!!
You can use web.show_document function for this purpose. See
form builder help topics for more details.
Hope this helps. -
How to chunk the XML files into smaller files using peoplecode.
We are trying to load the Invoices through our XMLDoc PeopleCode that we have written long back.
Previously the file is not that big and we are able to load them successfully. But now each file is more than 200MB and we are getting the below error when initiated the process..
Process Request shows status of 'INITIATED' or 'PROCESSING' but no longer running “.
I tried to chunk the file manually to 50MB it is able to run it properly but chuncking manually is not possible for all the files as it is time taking process..
Is there any way that we can check on Webserver/Appserver whether whats happening and how to handle this error..
Or any sample code to divide the big file into smaller files..
Please let me know your thoughts..Good morning Ashok,
Your data is in a SQL*Loader supported datatype, so basically it should not be a problem.
Have you checked the Database Utilities guide (for Oracle9i for instance: http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96652/toc.htm) on how to handle this?
I'll also repeat my previous question, have you ever been able to load data into the database using SQL*Loader (either using ASCII values or any other datatype)?
For the OWB part, have you read "Importing Data Definitions" (typically chapter 4)? More specifically, "Specifying Field Properties" in "About Flat File Sources and Targets"?
In "SQL*Loader Properties" it says the following:
Type Describes the data type of the field for the SQL*Loader. You can use the Flat
File Sample Wizard to import the following data types: CHAR, DATE, DECIMAL
EXTERNAL, FLOAT EXTERNAL, INTEGER EXTERNAL, ZONED , AND ZONED
EXTERNAL. For complete information on SQL*Loader field and data types, refer to
Oracle9i Utilities. Currently, only portable datatypes are supported.
If you check the database utitlities guide (chapter 6 Field List Reference) and look for "SQL*Loader Datatypes", you'll find (packed) decimal under the Nonportable Datatypes. This implies that OWB does not support it.
This does not mean you can't use SQL*Loader, you'll only have to define everything separate from OWB and call it separately as well.
Good luck, Patrick -
How to show the pdf file into the UIWebView from iphone documents directory?
Hi ,
I am working on web services right now I am getting string into base64 format. After decoding that string into NSData i am saving that data as a pdf into Document directory of iphone. Now the problem is that when I want to show the pdf into UIwebView then it is showing blank page. But when I am checking into /Users/pareshkarnawat/Library/Application Support/iPhone Simulator/4.3.2/Applications/ the pdf file is correctly generated and working fine when I ope it.
How to show that pdf file into UIwebview ? or is there any alernative for this.
Any ideas on how I can go about this? I have looked at a few posts and still can't seem to figure it out.
Any idea's appreciated, thanksThe result is a UIWebView that displays a blank page. No errors occur in the UIWebView delegate method. The thing is that data has the correct length, in bytes, for the PDF I am trying to display, and I also get the pdf file in Library/Application Support/iPhone Simulator/4.3.2/Applications/ Does anyone have an idea as to what might be going wrong here or how I can better debug this problem?
-
How to extract the downloaded files for AS 10.1.2.0.2 Solaris?
Hi,
When I try to extract the downloaded files from OTN, the following error occurs?
# cpio -idcmv < as_sun_sparc_101202_disk1.cpio
cpio: Can't read input: end of file encountered prior to expected end of archi.
Regards,
KitaeIt brings the same error message.
Are these files fine?Probably your files are broken because of interrupted or incomplete download. -
How to upload the text file into smart forms
Hi Experts,
can any one tell me that how to upload the text file or html file to SAP Script form or smart forms
i have download the form info from SAPscript form.to text file.
now i want to upload the text file to smartforms.
is it possible ? if it is possible, then how can i do that ?
Thanks in Advance.
Regards,
Mani<b>For Scripts</b>
Go to SE38. Put in the program name RSTXSCRP. Execute it.
Mode(Export/Import) : Import.
Give the file name from which you want to upload and execute it.
<b>For Smartforms</b>
TCode : smartforms.
Give the form name.
Utilities-->Upload form.
Reward points if helpful.
Thanks
Aneesh. -
How to convert the TEXT file into an XML using plsql code
Hi all ,
I need to convert an TEXT file into an XML file how can i do it
Below is my sample TEXT file .
TDETL00000000020000000000000120131021115854ST2225SKU77598059 0023-000000010000
I want the above to be converted into the below format
<?xml version="1.0" encoding="UTF-8"?>
<txt2xml>
<!-- Processor splits text into lines -->
<processor type="RegexDelimited">
<regex>\n</regex>
<!--
This is used to specify that a message should be created per line in
the incoming file;
NOTE: this was designed to work with all the processors, however it
only works correctly with 'RegexDelimited' processors (check the
enclosing top processor type)
-->
<maxIterationsPerMsg>1</maxIterationsPerMsg>
<!-- For lines beginning with FHEAD (File Header) -->
<processor type="RegexMatch">
<element>FHEAD</element>
<regex>^FHEAD(.*)</regex>
<processor type="RegexMatch">
<element>OriginalLine</element>
<regex>(.*)</regex>
<consumeMatchedChars>false</consumeMatchedChars>
</processor>
<processor type="RegexMatch">
<element>LineSeq,Type,Date</element>
<regex>^(\d{10})(\w{4})(\d{14})$</regex>
</processor>
</processor>
<!-- For lines beginning with TDETL (Transaction Details) -->
<processor type="RegexMatch">
<element>TDETL</element>
<regex>^TDETL(.*)</regex>
<processor type="RegexMatch">
<element>OriginalLine</element>
<regex>(.*)</regex>
<consumeMatchedChars>false</consumeMatchedChars>
</processor>
<processor type="RegexMatch">
<element>LineSeq,TransControlNumber,TransDate,LocationType,Location,ItemType,Item,UPCSupplement,InventoryStatus,AdjustReason,AdjustSign,AdjustQty</element>
<regex>^(\d{10})(\d{14})(\d{14})(\w{2})(\d{4})(\w{3})([\w ]{13})([\w ]{5})(\d{2})(\d{2})([+-]{1})(\d{12})$</regex>
</processor>
</processor>
<!-- For lines beginning with FTAIL (File Tail) -->
<processor type="RegexMatch">
<element>FTAIL</element>
<regex>^FTAIL(.*)</regex>
<processor type="RegexMatch">
<element>OriginalLine</element>
<regex>(.*)</regex>
<consumeMatchedChars>false</consumeMatchedChars>
</processor>
<processor type="RegexMatch">
<element>LineSeq,TransCount</element>
<regex>^(\d{10})(\d{6})$</regex>
</processor>
</processor>
</processor>
</txt2xml>
ThanksSorry, that doesn't make much sense.
The XML you gave is a configuration file for txt2xml utility. It doesn't represent the output format.
Are you a user of this utility? -
How to extract the excel file using web dynapro
Hi Expert,
I want to know how to generate an excel file to extract the internal data. Please give me your help.
Thanks in advance.I think you you can use File download UI element. Refer following link for more info:
[FileDownload|http://help.sap.com/saphelp_tm60/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
Regards,
Saket -
How to merge the pdf files into single pdf?
I need to merge the two (or) three pdf files into a single pdf via scripting. I used the below code for inserting(merging) the pages.
this.insertPages({cPath: "Test.pdf"})
But its merginging(inserting) successfully. But the links not working after inserting. kindly advise me the solution or any other ways.
I am using Acrobat 8.0.
Thanks in advance..http://gotofritz.net/blog/howto/joining-pdf-files-in-os-x-from-the-command-line/ <- this works but it strips OPI
Here's what I did: (This is shell script)
#!/bin/bash
FROM="./"
DESTINATION="./unCombined/"
for i in $(ls *_F_ga.pdf)
do
BACK=`echo "$i" | sed "s/_F_/_B_/g"`
if [ -f $BACK ] ; then
open "$i"
osascript selectMenuItem.scpt
sleep 3
mv -f "$FROM/$i" $DESTINATION
mv -f "$FROM/$BACK" $DESTINATION
fi
done
This calls an applescript
tell application "/Applications/Adobe Acrobat X Pro/Adobe Acrobat Pro.app"
activate
end tell
tell application "System Events"
tell process "Acrobat"
click menu item "combine Front and Back" of menu "File" of menu bar 1
end tell
end tell
Which activates a menu item (made with Java and saved into Macintosh\ HD/Users/*user*/Library/Application\ Support/Adobe/Acrobat/10.0/JavaScripts)
app.addMenuItem({
cName: "combineFB",
cUser: "combine Front and Back",
cParent: "File",
cExec: "combineFrontAndBack()",
nPos: 0
Which activates this script (again saved into Macintosh\ HD/Users/*user*/Library/Application\ Support/Adobe/Acrobat/10.0/JavaScripts)
combineFrontAndBack = app.trustedFunction(
function(){
// get the file name and extension
var sFullFileName = this.documentFileName
// make into an arry
var aFullFileName = sFullFileName.split('_F_');
// build a file name array dropping the extension
var aFileName = new Array(aFullFileName.length - 2);
for (i = 0; i < aFullFileName.length - 1; i++) {
aFileName[i] = aFullFileName[i];
// recreate file name
var sFileName = aFileName.join('.');
var back = sFileName + "_B_ga.pdf";
app.beginPriv(); // Explicitly raise privilege
//add back page based on front page name
this.insertPages ({
nPage: 0,
cPath: "/Macintosh HD/Users/jfox/test/" + back,
nStart: 0
this.saveAs("/Macintosh HD/Users/jfox/test/" + sFileName + "_ga.pdf");
this.closeDoc(true);
app.endPriv();
return true;
It's convoluted and comparitively slow, but it works.
EDIT: I just realized you probably meant document links and not OPI links. Ha ha. I have no Idea what this would do to document links. -
How to import the xml file into bcc?
My input file to atg is xml which contain category or products assets.
I want the scheduler to run in such a way that it should auto create a project and send an email to client for approval.
When the client approves the xml file,then run the scheduler to input the xml file datas into bcc.
i will be using : SingletonSchedulableService for this
Give me a guidance for the same.
Thanks in advance.I want to implement this in bcc.
Which listener will listen for the approval of the client for the email (which contains the xml to import)we sent to him?
You would have to do custom development to hook your custom workflow with the inbound email. For sending email notifications the action is already there and while creating its element in ACC you can specify a JSP for the email template. You may refer following relevant documentation:
Oracle ATG Web Commerce - Workflows
Oracle ATG Web Commerce - Workflow Action Elements
I recommend to refer the existing DeploymentEmailer source in <ATG>\Publishing\samples\Java and see different DeploymentEvent types and states can be used based on your requirement in your custom component. Also refer these API javadocs to know about the available deployment events and process:
DeploymentEvent (ATG Java API)
DeploymentServer (ATG Java API)
ATG does have a /atg/dynamo/service/POP3Service component to retrieve mails from a POP3 e-mail server but it is primarily used for detecting the bounced email. Not too sure if it would help or fit in your case but still you can go through about its details to know what is already there:
Oracle ATG Web Commerce - Bounced E-mail
You may also refer to the InboundEmail event and API javadocs for InboundEmailMessage which are used in this bounced email detection feature:
Oracle ATG Web Commerce - InboundEmail Event
InboundEmailMessage (ATG Java API)
Now based on all this, if you extend and customize a lot of things it would be bit complex and tedious to detect the inbound approval mail based on its content and then advance your workflow. Another approach can be to put a URL in the mail template of your notification email which the approver would have to click and on the landing page you can authenticate and advance your custom workflow as required. -
How to extract the .ecp files?
We need to extract some *.ecp files. Please help tell whether a double click would be enough?
We did not get the files yet, just prepare the procedure. Thanks!Hi,
You can open *.ecp files using any of the compression tools like Winzip or Winrar.
Best Regards
Sivakumar -
How to read the CSV Files into Database Table
Hi
Friends i have a Table called tblstudent this has the following fields Student ID, StudentName ,Class,Father_Name, Mother_Name.
Now i have a CSV File with 1500 records with all These Fields. Now in my Program there is a need for me to read all these Records into this Table tblstudent.
Note: I have got already 2000 records in the Table tblstudent now i would like to read all these CSV File records into the Table tblstudent.
Please give me some examples to do this
Thank your for your service
Cheers
Jofin1) Read the CSV file line by line using BufferedReader.
2) Convert each line (record) to a List and add it to a parent List. If you know the columns before, you might use a List of DTO's.
3) Finally save the two-dimensional List or the List of DTO's into the datatable using plain JDBC or any kind of ORM (Hibernate and so on).
This article contains some useful code snippets to parse a CSV: http://balusc.xs4all.nl/srv/dev-jep-csv.html -
How to impor the pdf file into crystal report
I try to import the whole pdf into the crystal report. But when I import it, I can only import the first page of the PDF. Can anyone give me some suggestions? Thank you.
PDFs do not easily import into Crystal Reports.
Fuskie
Who is not sure why you would want to insert a PDF file into a Crystal Report...
Maybe you are looking for
-
Windows Xp not recognizing Ipod
I tried to install my new Ipod Nano but it didn't work : during the installation, the first time I connected My Ipod, windows warned me not to intsall it. I Try to start again, but nothing happened, except the little noise, telling me a new usb is co
-
I just upgraded my operating sytem to 10.6.8, to accomadate my sons new ipod which worked fine , but on plugging in my iphone 4 , itunes doesn't rcognise my phone , just says no camera found, help please.
-
Can't install Photoshop CS4 in Lion
Hi, I have a new iMac Core i7 that came with Lion installed. We have Creative Suite 4 Design Premium as an upgrade from the original Creative Suite Premium which was itself an upgrade from Photoshop 7. I only want to install Photoshop from CS4. The i
-
Hi, I have a column value 0008-1913 in text file. When i dump this into a database in SQL server, the value becomes Aug-13. I am dumping from a text file to SQL using a query transformation. No script or function involved, just mapping the output sch
-
My Command Z undo function is now not working in all my apps. I have tried using Onyx to delete and restore preferences, I've deleted some com.apple preference files (but am hesitant to remove all!) and have checked system preferences for keyboard sh