× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The subfile starts on line 5.

For *DS3 (24x80 screen), the constant 'REQUESTER' begins on line 4 at
position 73 and ends in position 1 of line 5, which causes it to overlap the
first position of the subfile.

For *DS3, this constant value should actually *not* go past position 79 of
line 4, since I believe you need at least one blank space between the end of
the last field in the SFL control record and the the beginning of the
subfile.

Steve Landess
Austin, Texas
(512) 423-0935

----- Original Message -----
From: "Jason Glodowski" <>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Friday, December 12, 2003 9:56 AM
Subject: CPD7812 Error


> I am getting a CPD7812 Error with the following code. My subfile starts on
> line 5 and subfile control ends on line 4. Am I missing something here?
>
>      A                                      DSPSIZ(27 132 *DS4
> -
>      A                                             24 80 *DS3)
>      A                                      INDARA
>      A                                      CHGINPDFT(HI UL)
>      A                                      REF(ITREQUEST)
>       *****************************************************************
>       * DISPSFL - Subfile
>       *****************************************************************
>      A          R DISPSFL                   SFL
>      A            HPROJ#    R        O  5  2COLOR(WHT)
>      A                                      REFFLD(PROJ#)
>      A            HPROJDESC R        O  5  9COLOR(WHT)
>      A                                      REFFLD(PROJDESC)
>      A            HREQSTDT  R        O  5 61COLOR(WHT)
>      A                                      REFFLD(REQSTDT)
>      A  35                                  DSPATR(ND)
>      A            HREQSTR   R        O  5 73COLOR(WHT)
>      A                                      REFFLD(REQSTR)
>      A            HREQDDT   R        O  5105COLOR(WHT)
>      A                                      REFFLD(REQDDT)
>      A  36                                  DSPATR(ND)
>      A            HCRTNAME  R        O  5117COLOR(WHT)
>      A                                      REFFLD(CRTNAME)
>       *****************************************************************
>       * DISPCTL - Subfile Control
>       *****************************************************************
>      A          R DISPCTL                   SFLCTL(DISPSFL)
>      A  *DS4                                SFLSIZ(9999)
>      A  *DS3                                SFLSIZ(9999)
>      A  *DS4                                SFLPAG(0018)
>      A  *DS3                                SFLPAG(0009)
>      A  70                                  SFLCLR
>      A N70                                  SFLDSPCTL
>      A N70                                  SFLDSP
>      A  95                                  SFLEND(*SCRBAR *MORE)
>      A N95                                  PAGEDOWN(21 'PAGE DOWN')
>      A                                      OVERLAY
>      A                                      TEXT('PROJECT REPORT DISPLAY')
>      A            SFLRCD         4S 0H      SFLRCDNBR(CURSOR)
>      A            JOBNAM        10A  O  1  3DSPATR(HI)
>      A                                      COLOR(BLU)
>      A            PGMNAM        10A  O  1 14DSPATR(HI)
>      A                                      COLOR(BLU)
>      A                                  1 55'       H O WOLDING INC
'
>      A                                      COLOR(WHT)
>      A                                      DSPATR(UL)
>      A                                  1123DSPATR(HI)
>      A                                      DATE
>      A                                      EDTCDE(Y)
>      A                                      COLOR(BLU)
>      A            USRNAM        10A  O  2  3DSPATR(HI)
>      A                                      COLOR(BLU)
>      A                                  2 55'  IT CHANGED PROJECTS REPORT
'
>      A                                      COLOR(WHT)
>      A                                      DSPATR(RI)
>      A                                  2123TIME
>      A                                      DSPATR(HI)
>      A                                      COLOR(BLU)
>      A                                  3 61'REQUEST'
>      A                                  3105'REQUIRED'
>      A                                  3117'CREATION'
>      A                                  4  2'PROJ#'
>      A                                  4  9'PROJECT DESCRIPTION'
>      A                                  4 61'DATE'
>      A                                  4 73'REQUESTER'
>      A                                  4105'DATE'
>      A                                  4117'USER ID'
>
>
> Thank you,
> Jason Glodowski
> Programmer/Analyst
> H. O. Wolding, Inc.
> Email: jglodowski@xxxxxxxxxxx
>
> ------------------------------------------------------------
> The information contained in this communication is confidential and may be
> legally privileged. It is intended solely for the use of the individual or
> the entity to whom it is addressed and others authorized to receive it. If
> you have received it by mistake, please let the sender know by e-mail
reply
> and delete it from your system. If you are not the intended recipient you
> are hereby notified that any disclosure, copying, distribution or taking
any
> action in reliance of the contents of this information is strictly
> prohibited and may be unlawful.
>
> H.O. Wolding, Inc. is neither liable for the proper and complete
> transmission of the information contained in this communication nor for
any
> delay in its receipt.
> ------------------------------------------------------------
>
>
>
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
>
>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.