Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Page Number in Easytrieve report

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Delip

New User


Joined: 13 Sep 2007
Posts: 45
Location: Bangalore

PostPosted: Thu Dec 06, 2007 3:08 am    Post subject: Page Number in Easytrieve report
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    Post subject:
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: 45
Location: Bangalore

PostPosted: Fri Dec 07, 2007 2:44 am    Post subject:
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    Post subject:
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: 45
Location: Bangalore

PostPosted: Tue Dec 11, 2007 12:40 am    Post subject:
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    Post subject:
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: 45
Location: Bangalore

PostPosted: Tue Dec 11, 2007 1:24 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm
No new posts Daily report to be extracted from CA ... polymathtarun DFSORT/ICETOOL 5 Mon Jul 11, 2016 4:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us