|
Thanks Leif. The reason i was posing the question is that I have seen code that sets a pointer to some character data, and the CPYBWP follows. Even though there is no pointer data in the data being copied. For example: /*--Get the output file. CPYBLA Query_Output_Type,'F'; SETSPPO .Query_Data,380; CPYBWP .Query_Data_Offset,.Query_Data; CMPBLA(B) Query_Data_Offset, X'00000000'/EQ(@Dft_Output_File); Robert Hicks Combinatorics Consulting Company Tel.: (248) 347 - 7222, ext. 222 Fax: (248) 347 - 7227 Email: Robert.Hicks@ccc-michigan.com If you have any questions, give me a shout. Bobby. "Leif Svalgaard" <leif@leif.org> To: <mi400@midrange.com> Sent by: cc: mi400-admin@midra Subject: Re: [MI400] Neebie Question nge.com 06/24/02 10:21 AM Please respond to mi400 SETSP pointer, data makes a pointer to the data CPYBWP data1, data2 copies data2 to data1 in such a way that any pointers already with data2 are preserved as pointer in data1. CPYBLA data1, data2 would copy the bytes only, but would not copy the "tagbits" that mark some data as a pointer. I have a feeling that the question is ill posed and that you really want something else. Could you show the piece of code you have and explain what you are trying to do? ----- Original Message ----- From: <Bobby.Hicks@ccc-michigan.com> To: <mi400@midrange.com> Sent: Monday, June 24, 2002 8:51 AM Subject: [MI400] Neebie Question > What's the difference in using the SETSP instruction and the CPYBWP > instruction? Thanks for any help that you can provide me. > > > Robert Hicks > Combinatorics Consulting Company > Tel.: (248) 347 - 7222, ext. 222 > Fax: (248) 347 - 7227 > Email: Robert.Hicks@ccc-michigan.com > > If you have any questions, give me a shout. Bobby. > > _______________________________________________ > This is the MI Programming on the AS400 / iSeries (MI400) mailing list > To post a message email: MI400@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/mi400 > or email: MI400-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/mi400. > _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/mi400 or email: MI400-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.
As an Amazon Associate we earn from qualifying purchases.
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.