In order for this site to work correctly, and for us to improve the site, we need to store a small file (called a cookie) on your computer.
By continuing to use this website, you agree to our cookies and privacy policy.
Home page Home page Home page Home page
Pixel Header R1 C1 Pixel
Pixel Header R2 C1 Pixel
Pixel Header R3 C1 Pixel

QTIPS - NoRead

A reader queried how a template could be modified before display without modifying the file copy of the template. If @PSEUDO is loaded with the template record, and WINDOW is called with the literal NOREAD in the command line, the template will be read from @PSEUDO rather than file. The value of @PSEUDO could then be changed using FIELDSTORE before CATALYST was called, for example to change a title before display -

0002    @PSEUDO = FIELDSTORE(@PSEUDO,CHAR(247),6,1,"Test")

Note - when using NOREAD a template name MUST still be given (this can be anything as it seems only to be used to keep position within @SENTENCE). Further the sixth "field" (delimited using CHAR(247)s, ie the title) MUST contain something otherwise the system will display an error message and return.

(Volume 2, Issue 8, Pages 4,5)
Pixel Footer R1 C1 Pixel