CopyBook is a Source member containing the source statements you want to insert
inside a source member.
You've to use /COPY compiler directive.
See the RPG reference manual for it's usage.

HTH,
Rajeev.









dbryant@banpharm.com on 02/06/2000 07:16:47 PM

Please respond to RPG400-L@midrange.com
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      RPG400-L@midrange.com                               
                                                              
 cc:      (bcc: Rajeev Asthana/TCSNOIDA/TCS)                  
                                                              
                                                              
                                                              
 Subject: RE: CRTBNDRPG (v4r4)                                
                                                              










Wow, you lost me there.  What is a copybook?

TIA..



|--------+------------------------------>
|        |          Rajeev_Asthana@noida|
|        |          .tcs.co.in          |
|        |                              |
|        |          06/02/2000 08:00 AM |
|        |          Please respond to   |
|        |          RPG400-L            |
|        |                              |
|--------+------------------------------>
  >--------------------------------------------------------|
  |                                                        |
  |       To:     RPG400-L@midrange.com                    |
  |       cc:     (bcc: Darlene H Bryant/Banpharm)         |
  |       Subject:     RE: CRTBNDRPG (v4r4)                |
  >--------------------------------------------------------|








Can't you use a copybook?








dbryant@banpharm.com on 02/06/2000 06:05:36 PM

Please respond to RPG400-L@midrange.com








 To:      RPG400-L@midrange.com

 cc:      (bcc: Rajeev Asthana/TCSNOIDA/TCS)



 Subject: RE: CRTBNDRPG (v4r4)











Thanks to all that replied to my question.  I just hoping that there was some
way to get the CRTBNDRPG to default to the options I wanted without having to
key in the H record information on **EVERY** program!!  Oh well, that's what the
copy and paste features are for....

Life is beautiful...<g>



|--------+------------------------->
|        |          Scott          |
|        |          Mildenberger   |
|        |          <Smildenber@Was|
|        |          hcorp.com>     |
|        |                         |
|        |          06/01/2000     |
|        |          04:11 PM       |
|        |          Please respond |
|        |          to RPG400-L    |
|        |                         |
|--------+------------------------->
  >--------------------------------------------------------|
  |                                                        |
  |       To:     "'RPG400-L@midrange.com'"                |
  |       <RPG400-L@midrange.com>                          |
  |       cc:     (bcc: Darlene H Bryant/Banpharm)         |
  |       Subject:     RE: CRTBNDRPG (v4r4)                |
  >--------------------------------------------------------|






We just put them on the h spec in the programs.

h option(*srcstmt : *noshowcpy : *nodebugio)

> -----Original Message-----
> From:   dbryant@banpharm.com [SMTP:dbryant@banpharm.com]
> Sent:   Thursday, June 01, 2000 1:38 PM
> To:     RPG400-L@midrange.com
> Subject:     CRTBNDRPG (v4r4)
>
>
>
> Is there any way to change the CRTBNDRPG command to automatically default
> to
> OPTION(*SRCSTMT) as well as OPTION(*NODEBUGIO)  ??
>
>
> I can't use use the CHGCMDDFT, because OPTION is not a default parameter.
>
>
>
> TIA.....
>
>
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
> david@midrange.com
> +---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.