OMIT



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

OMIT

Postby indrjn » Mon Nov 30, 2009 7:25 pm

Hi!
the output shows '0' and '-' in column 9 all pages
1.i want to omit and shows the result
2. result shows in right corner of the page
the result shows in beginiing of the page
3. each i dont want header i want header first page only
this is the code i have it
but it gives the errror in omit
OPTION COPY
OMIT COND=(9,1,CH,EQ,C'-',OR,(9,1,CH,EQ,C'0')
result page
REPORT RPT2 NOSPREAD SUMSPACE 0 PRINTER SYSPRT1
for header it shows from input i want only in first page
could you help me
indrjn
 
Posts: 6
Joined: Thu Apr 30, 2009 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: OMIT

Postby dick scherrer » Tue Dec 01, 2009 4:06 am

Hello and welcome to the forum,

You need to post some sample input data (use the Code tag) and the output you want from that sample input. You need to mention the relevant data positions and the "rules" for getting form the input to the output. Also, mention the recfm and lrecl of the files.

You mention an Easytrieve question (as this is the Easytrieve part of the forum), but have posted what looks like sort control statements. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: OMIT

Postby indrjn » Tue May 11, 2010 12:10 am

Hi
i am new to this form . the output shows
but i want the headers only one time and how to remove the bold lines adnd spaces and records total 4
each page showing headers. that i dont want that
do i have to write in easytrive plus commands.coudl you help me

05/10/10 srno account Records accountid accountname
XXXX XXXX 1 XXXXXX XXXXXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
4

05/10/10 srno account Records accountid accountname

XXXX XXXX 1 XXXXXX XXXXXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
4


05/10/10 srno account Records accountid accountname
XXXX XXXX 1 XXXXXX XXXXXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
XXX XXXX 1 XXXXX XXXXXXXXXX
4
indrjn
 
Posts: 6
Joined: Thu Apr 30, 2009 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: OMIT

Postby dick scherrer » Tue May 11, 2010 12:47 am

Hello,

Is this a new question or is this somehow related to the question from last year?

It is not at all clear what you want . . .

Suggest you post some sample input and then the output you want from that exact sample. Does the code that is running use REPORT to generate output?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: OMIT

Postby indrjn » Tue May 11, 2010 1:28 am

Thanks for helping out
Report generate output
input has layout which has records
output i need to include column as records
i dont want summary of records that shows above in each and every page 4 , 5 and so on
and remove the header each and every page, firstpage only i need header,
indrjn
 
Posts: 6
Joined: Thu Apr 30, 2009 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: OMIT

Postby dick scherrer » Tue May 11, 2010 2:49 am

Hello,

To repeat:
Suggest you post some sample input and then the output you want from that exact sample.

You need to provide the requested info.

output i need to include column as records
I don't know what this means.

To do what you want, you may need to simply write an output file rather than a report. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: OMIT

Postby indrjn » Tue May 11, 2010 3:09 am

Hello
coudl you show me the sample how to write the out put file .
or for reprot do i get any training or demo in this website. i can see that. thanks again.
indrjn
 
Posts: 6
Joined: Thu Apr 30, 2009 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: OMIT

Postby dick scherrer » Tue May 11, 2010 3:19 am

Hello,

An output file is defined with the same syntax as an input file:
FILE TESTFILE FB(80 6160)
and then name the fields.

We don't have any "standard" training or demos on this site. We try to keep up with questions, but are not able to provide training.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: OMIT

Postby indrjn » Tue May 11, 2010 4:46 am

ok i got it will getback to you soon.
another question related with this
is that any way to write the code
in edit mode
c "0", " ' 1 all
i change 0 to space in postiion one
but how do i write the code
could you help me thanks
indrjn
 
Posts: 6
Joined: Thu Apr 30, 2009 3:22 am
Has thanked: 0 time
Been thanked: 0 time

Re: OMIT

Postby dick scherrer » Tue May 11, 2010 6:00 am

Hello,

but how do i write the code
I don't understand what this is asking :?

You posted an edit change command - which will change things. To "write code" simply key the code into the file/member.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Next

Return to CA-Easytrieve