× 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.



Jim,

Once I needed to put generic documentation at the top of every source
member.

I used CL for this.

1. retrieve the member description of the source file
2. for each member, using cpyf I copied my generic source into the same
member but new library followed by copying the source from the original
library/file member to the new library/file member *add.

I had two generic source members.  One for source where an * in pos 7 means
comment and one where /* */ is necessary.

Phil


> -----Original Message-----
> From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
> Behalf Of Terry Herrin
> Sent: Saturday, March 23, 2002 6:09 AM
> To: rpg400-l@midrange.com
> Subject: Re: Variable length record in different files
>
>
> Jim Langston <jlangston@celsinc.com> wrote:
> >That's where my problem comes in.  Some of these files have
> record lengths
> >of 92, some 112, etc..  I'm 99% sure that if I just specified the longest
> >record length of 112 and internally described the file it
> wouldn't not work
> >the way I wanted to at all.
>
> Jim,
> I would convert all the source files on the system to 112.  That's
> what we did.  We then changed the CRTSRCPF command to default to 112.
>
> Terry Herrin
> Sr. Programmer/Analyst
> New Hanover Regional Medical Center
> Wilmington, NC
> _______________________________________________
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
> or email: RPG400-L-request@midrange.com
> 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.