Top of GSFF | Index | Table of Contents | Feedback |
GENJ1200 - Generate SMS Interface XML File
Purpose |
To create an SMS interface XML file, that can be imported into external systems. |
|
SubSystem |
General |
|
Normally Run By | System Specialist | |
Anticipated Frequency | To be run as required | |
Structure | Block | Generate SMS Interface XML File |
Tab | Parameters |
This job allows an administrator to select an Interface Extract Query (as recorded in GENW1210) as the output directory for data returned by the job; and to add one or more parameters to the selected query, if required. The query run by this job (GENJ1200) extracts data from Callista SMS and generates a set of XML files which can then be imported into external systems. This job enables institutions to use customised data extraction to match their individual requirements and the requirements of external systems. Custom queries are created via the Interface Extract Queries page (GENW1210). This job or the interfaceExtract web service can then be used to run the queries and extract the required data. Queries can be formatted to produce data in a customised format as defined in the query, or in the Learning Information System (LIS) 2.0 format (as described below). System Queries can also be executed via this job. (Although SMS-LMS system template queries remain unexecutable.) The query returns a CLOB of data containing XML which is written to the output file. This job is accessed from the main menu. It can be run in Immediate or Schedule mode. For detailed information about the creation of queries for this job and the interfaceExtract web service, refer to the Callista Product Centre - wiki.callista.com.au/display/CPC. |
Generate SMS Interface XML File block: Parameters** Tab:
Interface Extract Query Parameters: Parameters 1 and 2:
Parameters 3-5 Tab: Interface Extract Query Parameters:
Parameters 6-8 Tab: Interface Extract Query Parameters:
Parameters 9-10 Tab: Interface Extract Query Parameters:
|
Rules/Notes: Queries are run by a read-only user: 'READ_ONLY_USERNAME', with password 'READ_ONLY_PASSWORD'. These details are defined in Maintain Job Control (JBSF4600) and this user should already exist, as it is used by other jobs. The Interface Extract Code parameter uses a List of Values (LOV) to select an Interface Extract Query Code that has been recorded in GENW1210. This may be a System Query, if required. The 'Output Directory' is used to specify the output directory of the XML file that is generated by the job. The specified Output Directory must exist as a record defined in the system (in the JBS_DIRECTORY table). Query Parameters: Queries can have parameters defined in GENW1210 before running this job. Parameters are placeholders for values. They allow records to be dynamically restricted to a subset of data. The Query Parameter fields are optional. However, if the query (as defined in GENW1210 and selected from the 'Interface Extract Code' parameter for this job), includes parameters, then they are required by this job. Each parameter has two components (as listed below). All two components are required for each parameter.
For example: A parameter Name is substituted with a value during execution of the query via this job or via the interfaceExtract web service. The query returns a CLOB of data containing XML which is written to the output file. Output files: Output XML files are stored on the server. The directory for the location of these files is selected from the List of Values (LOV) for the 'Output Directory' parameter. (Note: LOV values are defined in the JBS_DIRECTORY table.) The name of the output file is: p_sms_interface_cd.<job request ID>.xml, where <job request ID> is the request ID generated by the job scheduler. The same process is also used by the interfaceExtract web service when it is run by the 'request' method. For more information, see the latest 'td_interface_extract' Technical document. |
Using Parameters: Parameter Name: Use an uppercase name and append a colon to each end to indicate the start and end of a parameter Name, for example, :P_BIRTH_DT: |
|
SMS to LMS: Queries can be formatted (in GENW1210) to produce data (XML files) in the 'LIS 2.0' format which complies with LIS v2.0 standards. 'LIS 2.0' consists of various services including:
Queries are required to extract data from Callista SMS for each of the services, listed above. Important: SMS-LMS System Queries are unexecutable. They are intended to be used as 'template' queries only. However, to execute; copy the system query into a new query, modify the query, then execute. For further information about the SMS-LMS interface, see SMS-LMS Interface. |
Rules/Notes: During processing:
|
Last Modified on 12 August, 2015 1:42 PM
History Information
Release Version | Project | Change to Document |
17.0 | 1954 - Interface Extract 2 | Removed the Type parameter and related info; and updated page. |
16.0.0.2 | 1935 - Interface Extract | Added new parameters - name, type and value, and related notes. |
15.0.0.2 | 1738 - SMS-LMS Interface | New Help page |