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



I'm testing the SEQUENCE operation on a V5R4 system where we want to implement a simple next number system to get a next batch sequence number.

The concept is very cool and it looks like it's been around quite a while so that's good, but here's an anomaly I found.

Here's what I created:
CREATE SEQUENCE QGPL/RJSGLNEXT as decimal (7,0) start with 27000

I run this from STRSQL and it works fine:
SELECT NEXT VALUE FOR RJSGLNEXT FROM SYSIBM/SYSDUMMY1

When I run the same SELECT statement via JT400, I get an error stating that the data area RJSGLNEXT is not found in library list, even though it exists and QGPL is in the library list.

It seems that it's not resolving in my QZDSAOINIT database job even though the library list is set correctly.

Also it appears I can't qualify RJSGLNEXT with the library prefix.

Anyone seen this type of issu with SEQUENCE before ?

Kind of makes SEQUENCE unusable if it doesn't resolve correctly :)

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx<mailto:richard@xxxxxxxxxxxxxxx>
Web Site: http://www.rjssoftware.com<http://www.rjssoftware.com/>
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT


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.