• Subject: Re: CLEAR Opcode?
  • From: Dave Mahadevan <mahadevan@xxxxxxxx>
  • Date: Fri, 14 Nov 1997 14:49:58 -0500
  • Organization: Stoner and Associates



Kahn, David (kahn) wrote:

> Note that *ALL in factor 2 is available in RPG/IV only.
>
> Dave Kahn, TCO, Kazakstan
> =========

You are absolutely correct.  Tim, this is available in ILE RPG (also referred to
as RPG IV).   Sorry for the mixup.  BTW, you can convert any RPG/400 (also known
as RPG III) to ILE RPG by using the CVTRPGSRC command.  Then you can use
CRTBNDRPG or CRTRPGMOD with CRTPGM to create a genuine ILE RPG program!

> >
> >You can use *ALL in factor 2 of the CLEAR Op code to clear all fields.
> >
> >Somthing like
> >CLEAR  *ALL   RECFMT
> >
> >This works for input only, output only or i/o files.  Also, if you specify
> >*NOKEY
> >in factor 1, it will leave the key fields alone. There is a blurb in the
> >manual
> >that says you cant use *ALL under certain  i/o conditions with certain i/o
> >fields.  ignore it.  It clears the fields.  Now  IBM, do not go messing
> >around to
> >make the code work like the manual.
> >
>



--
Thank You.

Regards

Dave Mahadevan.. mailto:mahadevan@fuse.net


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2019 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].