I need to translate it

Good afternoon, I'm struggling to translate from C # to Cobol. Can someone translate this?

             ReportDocument cryRpt = new ReportDocument ()
             cryRpt.Load ("C: \ temp \ rlfatemi.rpt")
             crystalReportViewer1.ReportSource = cryRpt
             crystalReportViewer1.Refresh ().

  • Verified Answer

    Try this:

                declare cryRpt as type ReportDocument = new ReportDocument
                invoke cryRpt::Load ("C:\temp\rlfatemi.rpt")
                set crystalReportViewer1::ReportSource to cryRpt
                invoke crystalReportViewer1::Refresh