Cobol Code to Oracle Report Generation

Hi all!!
Can you please suggest me How can I generate Oracle Report From The Cobol Code.
Need an example too .....
Please!!!!

BluShadow wrote:
796698 wrote:
Hi all!!
Can you please suggest me How can I generate Oracle Report From The Cobol Code.
Need an example too .....
Please!!!!They are completely different languages and technologies. Cobol deals with flat files of data processed in sort of scanning/looping/reading back and forth ways (God how I hated Cobol!). As unrepentant old cobol programmer (though I haven't written a line of cobol in several years) I take umbrage at that. (Yes, being an unrepentant cobol programmer means I'm also a curmudgeon). Cobol is far more capable than simply looping through "read a record, write a record. It deals with far more than just flat files. It can quite easily access any dbms that supplies a pre-compiler - like, oh, say, Oracle's Pro*Cobol. Micro Focus (I believe they are now called Merant) produced a full line of cobol products for the PC. And all of it, the basic compiler, the integrated development environment (editor, source-code level debugger, gui,) emulation of mainframe CICS, IMS, and DB2 were all themselves written *in cobol*.
There was never a technical reason for moving away from cobol. It was simply fueled by a generation of developers who though computing began with the Apple II and set out to have to discover (and then re-invent solutions for) problems that cobol programmers and the mainframe had solved years earlier. And PHB's who practiced "Management by Magazine Article" and got their technical advice from American Airlines Magazine.
I've always maintained that people who hate cobol never really knew cobol.
Oracle deals with relational indexed tables using SQL.
Take your business requirements for what the report should be generating and write the report from scratch in Oracle. That way you'll make the most of Oracles technology.

Similar Messages

  • How to use PDF417 Bar Code in Oracle Reports 6i

    How to Use PDF417 Bar Code in Oracle 6i. One of my clients has a requirement that Customer Name and Address to be converted into PDF417.
    Any help greatly appreciated.
    Thanks,
    PN

    You will need to add this font to the system and Reports configuration files.
    For adding font to the system, refer to your system specific guidelines for installing new fonts.
    After you have installed this font on the system, you should be able to see the font in Reports builder font picker dropdown box. or with unix 'xlsfonts' command
    For adding this font to the Reports application.
    1. Modify the printer definition file ( you can get this info from uiprint.txt file for the .ppd or .hpd file used )
    if the printer defination file is .ppd then look for "*Font Information" section and add the new font name there
    like *Font <new_font_name> Standard '(00.1001)" Standard ROM
    If hpd add the new font tfm file as
    FONT= new_font_name
    /tfm=new_font_tfm file.tfm
    2. Copy the AFM or TFM ( these are fonts metrics files, which font vendor will provide ) into the relevant directory so the the Reports application should pick them up.
    3. If necessary, make changes in the alias file (uifont.ali ) for mapping to this font. If the layout objects in your report are associated with the same font name as the new font then mapping is not required. But if the fonts for the layout objects are different then you need to map the original fonts to the new ones. Make sure that the mapping rules should be defined in the right section depending on the printer type being used.

  • Incorporate Bar Code in Oracle Reports

    Hi,
    I want to incorporate Bar code font in character based oracle reports.Kindly let me know how to go about implementing it.Secondly is there any site from where i can download the bar code fonts freely.Also does Oracle provide Barcode fonts for Oracle Reports.
    Thanks in advance
    Deepak

    hello,
    from your question i understand that you want to create a barcode in a character mode report. this will be very difficult as it requires the destination printer to be able to print barcodes. a barcode font will not help here, as charactermode reports do not leverage fonts other than ones available in the printer.
    usually it is more to creating a barcode than just printing the value in barcode font. most barcodes need special algorithms to create chechsums and similar stuff.
    you might want to look into our barcode example that shows you how to use a java bean to generate a barcode.
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/BarcodeBeanPaper/index.html
    oracle does neither ship barcodefonts nor java beans to generate barcodes for production purposes. the supplied sampels are for demo purposes only. however there are several commercially available fonts as well as javabeans on the market.
    regards,
    philipp

  • Bar Code in Oracle reports 2.0

    We have a requirement to print a barcode on a pick slip report (generated in Oracle reports 2.0) such as the pick slip number so that it can be scanned. Does any one have ideas on this? We are printing the pick slips on line printers (genicoms).
    Thanks in Advance,
    Mag

    Thanks for the suggestion
    I checked their web site and their solutions seem to be work if you have Oracle reports 6.0 or greater. Unfortunaltely we are still in Oracle reprots 2.0, has anyone got some ideas.
    Rgds,
    Mac

  • Oracle report generation jobs problem

    Hiii,
    We have installed the Oracle Clinical 4.6 version forms and report server is installed in same server. After installation we tried to submit the job . The job is successfully submitted but the problem is the status of the job is always set o Submitted_RS. We need to resolve this. if any body know the solution plse provide
    Thanks in Advance

    Hi,
    When i used to get only one page the options like facing, continuous facing are disabled. And displays only single page.
    These options are enabled only when there are multiple pages in pdf.
    One more thing i found that it happens when I first view the report as pdf it displays
    all the pages, then i change the display format to csv and again when i change
    the format to pdf the problem starts.
    And when I will restart the report server service, it works fine again until i wont view it in CSV format.
    Message was edited by:
    Yogesh

  • Oracle reports 6i to Oracle forms 10g migration

    Hi,
    I have .rdf files which were created on Oracle Reports 6i. I would like to migrate the .rdf files into Oracle Reports module which is present as a part of Oracle Forms 10g to generate PDF output.
    Please let me know the detailed steps to be followed as I am a total newbie. Also I need to generate these reports on demand from a java 5 application (JSF 2.0).
    Currently for ORacle reports 6i, I have the following code in my java application
    rwrun60.exe g:\tomcat33\webapps\reports\web-inf\src\null userid=***/*** destype=FILE desformat="pdf" paramform=NO printjob=NO batch=YES desname=temp.pdf
    1. What would be the equivalent for reports in ORacle Forms 10g ? I know there is an Oracle Apps server where ther report services reside. How to I invoke my report from my java application (residing on a weblogic server 10.3.6)?
    2. What ould I do with the 6i .rdf files to upgrade them to 10g ?

    I am trying to call an Oracle report i.e .rdf (which is located on the Oracle  App Server) from my java EE 5 (JSF) application. The Oracle  App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release.  I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
    Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
    Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
    Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ?

  • Integrating Oracle Reports 9i to Oracle Forms 9i

    im trying to integrate simple reports from oracle reports9i
    to Oracle form 9i using command buttom (when-button-pressed)
    the query from oracle reports :
    select seq_no,count(msg)
    from out_message
    where user_id='PCD'
    group by seq_no
    having count(msg)<>1
    Report name : sequence
    can you help the step by step procedure or tutorial how to
    integrate reports to form
    thanks
    mike

    I am trying to call an Oracle report i.e .rdf (which is located on the Oracle  App Server) from my java EE 5 (JSF) application. The Oracle  App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release.  I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
    Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
    Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
    Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ?

  • SQR with Oracle Reports

    Hi,
    Can you use SQR code within Oracle reports
    Is there a way to convert SQR to Oracle Reports

    In some of our applications we are using Reports 6.0 and we have no problems with 9.2 DB.

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Report generation failed----​error code:-1720​5; Access Denied.

    Hi, All
        i have a trouble about report generation.it seems the error happened at the "write UUT report"--this step is teststand report generation'DLL.
        detail:
        An error occurred calling 'Save' in 'Report' of 'NI TestStand 2010 SP1 API'
    Access Denied.. Error writing to file 'D:\program\seq\xxx.xml'.
    The file might be open in another application. If file access is intermittently denied, you should try disabling the Microsoft FindFast utility. 
        error code:-17205; Access Denied.
        locationtep 'Write UUT Report' of sequence 'Single Pass' in 'SequentialModel.Seq'
        How to fix it?
        Thanks a lot.
    BR

    Hm, it looks like the file might be open in another application. If you see that file accesss is intermittently denied, you should try disabling the Microsoft FindFast utility.
    CTA, CLA, MTFBWY

  • Report Generation Error Code=1 applying patch 1471898

    When apply the file g1471898 the adpatch was unable to generate reports. The message is ERROR [Code=1] generating report ....

    Thats not much to go on.
    You should probably take this up with Oracle Support.
    But surely there is more in the logs than just that.
    You dont have any 'ld: fatal: Symbol referencing errors..' or
    something along those lines?
    If you cant sort out the issue from your log files, then
    you might want to recompile your apps schema and try the g-driver
    again. Before contacting Support.

  • Oracle Report lost source code

    Hello Everyone,
    I have one Oracle report 6i executable (REP) file without its relevant source file (RDF). Is there any way I can generate a source file from the executable file?
    Regards
    Dharmesh

    Is there any way to do this in Forms?
    We have a number of 6i forms executables with no source code.
    Can you tell me what we would need to create the FMB's from the FMX's if there is a way

  • -1073741819 code using Report Generation with LV 6.1

    I'm studing about the Report Generation Functions with LV 6.1, and I'm trying to run some example about it, but the programs sends the next error: "Error -1073741819 ocurred at unknown System error in Font Style.vi> Set report font.vi>Easy text report.vi
    >. I'm using Windows XP plataform.
    someone knows what can I do?
    Thanks for your help

    Maybe you already know this but the font settings is a cluster of 4 elements: 2 integers and 2 strings. The 2 integers are character set and weight. They default to -1. The two strings are font name and font size. The default to blank strings. Are you wiring this cluster into your font settings terminal? Do you have -1, -1, Arial, and a number for font size inside the cluster (I use 4 for HTML reports)?
    - tbob
    Inventor of the WORM Global

  • Generation of pdf forms with Oracle Report

    I would like to generate editable pdf with Oracle Reports. That means I need clickable check boxes in the output.
    Any suggestions or hints?
    Thanks in advance.
    Uwe

    Hi Uwe
    Reports does not currently have the capability to create PDF files with form fields.
    Regards
    The Oracle Reports Team

  • How can i change the source code of current date in oracle reports

    Hi All,
    How can i change the source of the current date to the sysdate of the database in oracle reports. I have more than 300 reports. is there any way to change quickly with opening each reports. I am working on reports11g on windows enviornment.
    Thanks in advance.

    benz wrote:
    Hi All,
    How can i change the source of the current date to the sysdate of the database in oracle reports. I have more than 300 reports. is there any way to change quickly with opening each reports. I am working on reports11g on windows enviornment.
    Thanks in advance.You have to use Reports Trigger named BEFORE PARAMETER FORM and write the following sql
    select sysdate into :Parameter_name from dual;
    give your format mask at Parameter_name.
    Hope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • Problem with Cisco Bars after Database Republish ("Could not find Cisco Unified database on this server")

    OS Version: 2000.4.3a OS Service Release: 2000.4.5bSR21 OS Upgrade: 2000.4.5a Bars Version: 4.0.15000 CUCM Version: 4.2(3)sr4b During the upgrade process of our CUCM 4.2(3) to version CUCM 4.2(3)sr4b the database replication between our 2 servers (1x

  • Bank statement in reconcile window

    Hi Experts. I am entring bank statement manually. After finilize this when i open recocile window, Bank statement is not appearing in right side. Thanks & Regards Manoj S

  • J2ee hangs in PI 7..0

    Hi Friends With ref from SDN i have a question. I have installed a landscape with 3 pi 7.0 With my IE 7 and 8 the PI 7.0 screen after logins gets hanged out to whihc ever tab we click. at botton left it says void value 0. Can you plz assist for the s

  • Auto highlight correction in LR 4

    Is Adobe even considering adding the option of turning off the auto highlight correction inserted into LR4. For anyone shooting white backgrounds this is a terrible nuisance. I personally will have to switch to another image processing software progr

  • Hyperlink to imovie in iweb

    No clue why, but can't post in iweb forum. Admin pease move this topic to iweb forum. Is it in any way possible in iweb to add a hyperlink to an imported imovie? Thank you.