NO FILE Enquiries
Day 4 – Sessions 1-4
Introductory Session
Dates
DD/MM/YYYY Technical Courses
Venue
xxxx
No File Enquiries
Objectives
Why NoFILE Enquiry
How Enquiry Subsystem Works
When to Create NoFILE Enquiry
Steps to Create NoFile Enquiry
Error Shots
3 Thesys Training Centre
Session Plan
Session 1
• Introduction to Nofile Enquiry & creation of Standard Selection
Session 2
• Creation of NOFILE Enquiry
Session 3
• Examples
Session 4
• Workshops
4 Thesys Training Centre
Why NOFILE Enquiry
ENQUIRY system works on a single file which is given in the
FILE.NAME field of ENQUIRY application
To fetch data available in Multiple files, NOFILE Enquiry is
the option
Nofile enquiry can be designed to fetch data from any
number of files
5 Thesys Training Centre
How enquiry subsystem works?
Builds up a list of ids
Picks up each id
Constructs a record
Displays the records.
Use subroutine for enhancements
6 Thesys Training Centre
Standard Selection
Allows definition of local subroutines.
Used as selection items in the Enquiry system.
SS can be used within enquiry to perform selections of data .
Also used to build virtual records
7 Thesys Training Centre
SYS.FIELD.NO and USR.FIELD.NO
Used to hold the routine name.
The associated SYS.TYPE or USR.TYPE is a type R.
Format:
• Subroutine name
Invoked:
• From CONCAT.LIST.PROCESSOR
Arguments:
• Single outgoing argument
8 Thesys Training Centre
Steps to create NOFILE
Use logical file name
• For a logical file there will not be a FILE.CONTROL
• So FILE.CONTROL will not be checked for validation
Define it in STANDARD.SELECTION
Start STANDARD.SELECTION ID with NOFILE
Use the SS id in Enquiry field FILE.NAME which is
mandatory.
9 Thesys Training Centre
Creating Standard Selection Record
Id should start with NOFILE
Must have ROUTINE type user field defined
SELECTION type fields can be defined
10 Thesys Training Centre
NOFILE Standard Selection Records
No actual underlying file in the system.
The selection must be performed by a routine.
R.RECORD is built from the routine
11 Thesys Training Centre
Example
Create a Enquiry which displays Customer Number, Account
Number, Customer Mnemonic, Working balance
12 Thesys Training Centre
Routine
13 Thesys Training Centre
Routine
14 Thesys Training Centre
Compile and Catalogue
15 Thesys Training Centre
Standard Selection Record
16 Thesys Training Centre
Enquiry
17 Thesys Training Centre
Run the Enquiry
18 Thesys Training Centre
WorkShop 1
Create an Enquiry which display the LD Contract number,
The Account Number and Account Name.
19 Thesys Training Centre
Routine
20 Thesys Training Centre
Routine
21 Thesys Training Centre
Standard Selection Record
22 Thesys Training Centre
Enquiry
23 Thesys Training Centre
Output
24 Thesys Training Centre
Workshop 2
Create a nofile enquiry which displays the FT id, Debit account
name, Customer Mnemonic, Credit Account name, customer
name.
25 Thesys Training Centre
Routine
26 Thesys Training Centre
Routine
27 Thesys Training Centre
Routine
28 Thesys Training Centre
Standard Selection
29 Thesys Training Centre
Enquiry
30 Thesys Training Centre
Result
31 Thesys Training Centre
Error Shots
32 Thesys Training Centre
Error Shots
33 Thesys Training Centre
Error Shots
34 Thesys Training Centre
All product names and other company names used herein are for identification purposes only and may be
trademarks or registered trademarks of their respective owners. Errors and omissions excepted,
all specifications are subject to change without notice.
© 2009 Thesys Technologies Incorporated. All rights reserved.
FOR MORE INFORMATION
Visit : www.thesys.co.in
email :
[email protected]