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 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: 46
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: 46
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: 46
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: 46
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 Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm

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