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



Paul,

The following article helped me to solve that problem for my STRPREPRC command:

"Create Your Own Compile Commands in WDSC"
http://www.itjungle.com/fhg/fhg080404-story01.html

I basically added parameters SRCFILE(...) and OPTION(*EVENTF) and I updated the first 20 bytes (LIBRARY, OBJECT) of the *LDA with the name of the object that was created by STRPREPRC command. I assume that you need to update the local data area with the name of the library of the source file and the source member name.

Feel free to check module STRPREPRC4 for details. The STRPREPRC command is included in the iSphere library or you can download it from my Freeware page at http://tools400.de/English/Freeware/Utilities/utilities.html.

Thomas.


-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von Paul Bailey
Gesendet: Mittwoch, 20. April 2016 17:21
An: wdsci-l
Betreff: [WDSCI-L] Custom compile from IFS

Hi,

I wrote a program to help me "compile" SQL scripts in RDi. It is just a wrapper around the RUNSQLSTM command, and it parses the output from the RUNSQLSTM command to produce an EVENTF file for RDi to display in the error list view. It works perfectly for SQL scripts stored in source members.

I've been trying to get it to work from the IFS as well. RUNSQLSTM works happily using a stream file, producing near identical output. However, RDi is not displaying the error log window at all even though I am 100% certain that the EVENTF member is correct and in the right place (noted by positions 1-20 of the *LDA).

Does anyone have any idea why RDi is able to show the error log for source members but not IFS stream source files? I do have an OPTION(*EVENTF) in the command for both source members and stream files, and in both cases the right EVENTF member exists after the "compile".


-Paul.
---------------------------------------------------------------------------------------
Important This email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way.
If you have received this email in error, please notify the sender and delete the email from your system. We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Group Limited or its subsidiary companies by email.
Registered Office: BHSF Group Limited, Gamgee House, 2 Darnley Road, Birmingham B16 8TE. Registered in England number 04767689. BHSF is authorised and regulated by the Financial Conduct Authority and Prudential Regulation Authority.

This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit https://www.mimecast.com
---------------------------------------------------------------------------------------
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.


As an Amazon Associate we earn from qualifying purchases.

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