Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Report section(Microfocus)- creating some problem

This is a discussion on Report section(Microfocus)- creating some problem within the MainFrame forums, part of the Software Development category; Can any one help me pleaseeeeeee my cobol pgm and jcl are as follows: i am not reading any input file, but creating an output file in which the report ...

Go Back   Geeks Talk > Software Development > MainFrame
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 2 Weeks Ago
Junior Member
 
Join Date: Oct 2009
Location: india
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Prasanna_Mandadi is on a distinguished road
Unhappy Report section(Microfocus)- creating some problem

Can any one help me pleaseeeeeee my cobol pgm and jcl are as follows: i am not reading any input file, but creating an output file in which the report should be written i am hard coding the values in the detail section the error is "illegal file name"some times jcl: //testjcl1 job (@0050045),'obsap interf',class=8,msgclass=w,region=0m //* user=&sysuid //* //step01 exec pgm=iefbr14 //infile dd dsn=new.data1, // disp=(mod,delete,delete), // dcb=(lrecl=80,blksize=8000,recfm=v,dsorg=ps), // space=(cyl,(200,100),rlse) //step02 exec pgm=iebgener //sysprint dd sysout=* //sysut1 dd dummy //sysut2 dd dsn=new.data1, // disp=(new,catlg,delete), // dcb=(lrecl=80,blksize=8000,recfm=v,dsorg=ps), // space=(cyl,(200,100),rlse) //* //step03 exec pgm=repgen //*outfile dd sysout=* //outfile dd dsn=new.data1,disp=shr cobol(repgen): input-output section. File-control. Select output-file assign to outfile . Data division. File section. Fd output-file recording mode f report is customer-report. Report section. Rd customer-report page limit is 30 lines heading 2 first detail 08 last detail 17. 01 type is report heading. 02 line number is 2 column number is 2 picture is a(15) value is 'abc corporation'. 02 line number is plus 1 column number is 37 picture is a(15) value is '**************'. 01 type is page heading. 02 line number is 4 column number is 34 picture is a(14) value is 'invoice report'. 02 line number is 7 column number is 1 picture is a(5) value is 'month'. 02 column number is 20 picture is a(15) value is 'invoice number'. 02 column number is 70 picture is z(15) value is 'charge'. 01 detail-line type is detail. 02 line number is plus 1 column number is 1 picture is x(5) value is 'rec1'. 02 column number is 20 picture is 9(7) value is 50000. 02 column number is 50 picture is 9(7) value is 1000. 02 column number is 70 picture is 9(2) value is 20. 01 type is page footing. 02 line number is plus 10 column number is 20 picture is x(5) value is 'page:'. 02 column number is 39 picture is 99 value is 01. 01 type is report footing. 02 line number is plus 1 column number is 10 picture is x(17) value is '**end of report**'. Procedure division. 1000-paragraph. Open output output-file. Initiate customer-report. * generate customer-report. Generate detail-line. Terminate customer-report. Stop run.

Last edited by Prasanna_Mandadi; 2 Weeks Ago at 08:26 AM. Reason: not in a readable format
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Software Development > MainFrame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
creating report shilpamj ASP.NET 0 04-06-2009 07:42 AM
Macros in Report and Creating Measure Dimension Geek_Guest Data Warehousing 1 01-01-2009 08:06 AM
A problem when creating a new chart control pyconan PeopleSoft 0 05-20-2008 05:42 AM
Minimum requirement for creating matrix report Geek_Guest Oracle 2 07-30-2007 09:07 AM
BO xi - ODBC error is coming while creating report Geek_Guest Data Warehousing 0 04-05-2007 07:32 AM


All times are GMT -4. The time now is 03:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved