IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Page Number in Easytrieve report


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Thu Dec 06, 2007 3:08 am
Reply with quote

Hi,

Is it possible to bring the pagenumber to the left side of the report.As of now,by default the pagenumber is displaying in the right.
Back to top
View user's profile Send private message
G-Johnson

New User


Joined: 12 Mar 2007
Posts: 20
Location: USA

PostPosted: Fri Dec 07, 2007 12:05 am
Reply with quote

I'm not aware of a way to move it, but you can try the idea below.
The NOPAGE option on the report line will cause the generated page number to not display. You can move PAGE-COUNT field to a WS field which can be part of your a HEADING.
Back to top
View user's profile Send private message
Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Fri Dec 07, 2007 2:44 am
Reply with quote

Thank you.Is PAGE-COUNT command there in Easytrieve?
Back to top
View user's profile Send private message
G-Johnson

New User


Joined: 12 Mar 2007
Posts: 20
Location: USA

PostPosted: Fri Dec 07, 2007 2:55 am
Reply with quote

My mistake...use PAGE-NUMBER. I'm unsure if you can use that field as part of your heading, or if you'll need to create a WS field in the heading and move PAGE-NUMBER into it.
Back to top
View user's profile Send private message
Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Tue Dec 11, 2007 12:40 am
Reply with quote

Hi,

I am getting error when i give like this

TITLE 1 COL 1 'PAGE ' PAGE-NUMBER
*******B082 NAME IS UNDEFINED - PAGE-NUMBER
Can you chek this
Back to top
View user's profile Send private message
G-Johnson

New User


Joined: 12 Mar 2007
Posts: 20
Location: USA

PostPosted: Tue Dec 11, 2007 12:51 am
Reply with quote

My bad...use PAGE-COUNT...the below worked for me.

REPORT RPT1 PRINTER RPT1 NOPAGE
TITLE 1 'PAGE' PAGE-COUNT
LINE 01 M-SUB
Back to top
View user's profile Send private message
Delip

New User


Joined: 13 Sep 2007
Posts: 46
Location: Bangalore

PostPosted: Tue Dec 11, 2007 1:24 am
Reply with quote

still no luck.Am I missing anything or is it some setting issue?Any idea?

REPORT TEMP NOADJUST PRINTER OFFLINE LINESIZE 132 +
NODATE NOPAGE
SEQUENCE TKLR-DATE TKLR-WORKER
CONTROL TKLR-DATE NEWPAGE NOPRINT TKLR-WORKER NOPRINT
TITLE 1 'PAGE ' PAGE-COUNT
*******B082 NAME IS UNDEFINED - PAGE-COUNT
Back to top
View user's profile Send private message
G-Johnson

New User


Joined: 12 Mar 2007
Posts: 20
Location: USA

PostPosted: Tue Dec 11, 2007 1:31 am
Reply with quote

not without seeing your code...below is an example of the one I got to work...it's a compile, line, and go


//PS00 EXEC PGM=EZTPA00,REGION=4096K
//SYSOUT DD SYSOUT=*
//SYSSNAP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//*
//EZTVFM DD UNIT=SYSDA,SPACE=(CYL,(20,20))
//FILEMED DD DSN=your.file,
// DISP=SHR,BUFNO=100
//RPT1 DD SYSOUT=*
//SYSIN DD *
FILE FILEMED
M-SUB 4 9 A HEADING ('SUBMITTER')
FILE RPT1 PRINTER
JOB INPUT FILEMED
IF FILEMED:RECORD-COUNT > 200
STOP
END-IF
PRINT RPT1
*
REPORT RPT1 PRINTER RPT1 NOPAGE
TITLE 1 'PAGE' PAGE-COUNT
LINE 01 M-SUB
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Increase the number of columns in the... IBM Tools 3
No new posts Need help on formatting a report DFSORT/ICETOOL 14
Search our Forums:

Back to Top