Display Files Week 4.

Slides:



Advertisements
Similar presentations
Advanced RPG Chapter 8 Interactive Applicatons. Interactive Applications  Batch Processing: Program is run without human intervention or control.  Interactive.
Advertisements

S2 Business Unit 2 Admin & It - Database Bell Baxter High School Faculty of Technologies S2 Core Business.
Obtain Data from Other Sources Data you need to include in an Access database often already exists in another file: in another Access database, in a table.
Week 7! Any Questions?. Homework Work on Lab 5, Lab 6 and Lab 7.
CL Programming with Database Files Updated Fall 2010.
Access Lesson 2 Creating a Database
1004INT Information Systems Week 10 Databases as Business Tools.
Access Lesson 2 Creating a Database
Welcome!. Print Options PDF Comma-Separated Values (CSV) Formatted Excel New Features in Analysis.
Monthly Shelf Tags Purpose: Print Store Shelf Labels for Promoted Items, by Sales Person.
Software. Records Fields Each record is made up of fields – categories of information. The fields here are Name, Surname, Address, Telephone and Date.
CS1100: Data, Databases, Queries Action Queries CS11001Advanced Queries.
Week 11. Picture Taking Functions  takePicture(“color” | “gray”) Returns a picture object  Show(picture object) Will show the picture that was taken.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
What have we learned?. What is a database? An organized collection of related data.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
3 / 12 CHAPTER Databases MIS105 Week-10/ Lec02 Irfan Ahmed Ilyas.
CPSC 203 Introduction to Computers Lab 60 By Jie Gao.
Why do we need a database?
File Handling in QBASIC
CPSC 203 Introduction to Computers Lab 21 By Jie Gao.
DATA MANAGEMENT AND DATABASES. Data Management Data management is the process of controlling the information generated during a research project or transaction.
Be “GUI ready” developing in RPG by Robert Arce from PrismaTech. Be “GUI ready” developing in RPG-ILE Presented by: Robert Arce.
CS1100: Data, Databases, Queries Action Queries CS11001Advanced Queries.
Chavez, Melesan Karen De Luna, Lin Detera, Patrick Kevin Martinez, Jellene Joy Dental Clinic Database System Functional Requirements.
Cost23 1 Question of the Day u Which of the following things measure the “size” of the project in terms of the functionality that has to be provided in.
MB2-716 Microsoft Dynamics 365 Customization and Configuration Exam Dumps Download PDF File From Dumps4download.
MICROSOFT ACCESS With your host: Daniel McAllister.
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
Databases.
Learning Objectives Today we will Learn:
RPG Programming with Printer Files
Creating Complex Publication Patterns in Voyager
Quiz # 02 Design a data type Date to hold date
Unit 16 – Database Systems
Access Creating a Database
Dynamic Input with SQL Queries
LICENSING IN NEW YORK AGENT/BROKER ON-LINE NOT
Microsoft Outlook 2000.
Access Creating a Database
Access Maintaining and Querying a Database
RPG Programming with Printer Files
Creating Complex Publication Patterns in Voyager
Any Questions?.
MS Access: Using Advanced Query Features
Agenda Test next Week! SI or no SI? File Update Techniques – Review.
Access Lesson 2 Creating a Database
Chapter 9 Lesson 2 Notes.
Access Lesson 2 Creating a Database
HOW TO INPUT YOUR REFERENCE:
HOW TO CREATE A CLASS Steps:
Computer Basics: How Do Computers Work? Part II
Information System Analysis
Lesson 23 Getting Started with Access Essentials
Problem Statement and Significance
Process Exchange Transactions Activity
Working Knowledge Training
Feed Log Grid As part of our steps to improve ZIMS functionality
TransCAD Working with Matrices 2019/4/29.
VIETNAM ACADEMY OF SCIENCE AND TECHNOLOGY
HTML Forms What are clients? What are servers?
The Web Wizard’s Guide To JavaScript
Record your QUESTIONS as your read.
Query-by-Example Transparencies
IT Solutions for Administrators - Databases
SPM 7 – Tech Support Training
IBC233 Lecture 3 Updated Fall 2011
Year 2 Spring Term Week 11 Lesson 1
Commas in Dates WHERE DO THEY GO?!?.
Presentation transcript:

Display Files Week 4

Write vs Exfmt Write displays the screen Exfmt displays the screen and gets the input

Indicators Don’t need a data structure but… Makes RPG more readable! Data type for an indicator is an N Fprjdspf CF E WORKSTN indds(indicators) Dindicators DS D F3 3 3N D F12 12 12N D F11 11 11N

Date Field Functions

%diff - Finding the Difference between Dates %DIFF(op1:op2:??) Where ?? Can be: *MSECONDS|*SECONDS|*MINUTES|*HOURS|*DAYS|*MONTHS|*YEARS Or %DIFF(op1:op2:*MS|*S|*MN|*H|*D|*M|*Y)

Changing a number to a date value %day(31) - will change 31 to a number of days %month(9) – will change 9 to a number of months %year(12) – will change 12 to a number of years So: newDate = oldDate + %day(15) will add 15 days to oldDate and store the result in NewDate

Updating Database Files Update record format name changes a record. The record must be read first Write record format name Appends a record to the file Delete record format name Deletes a record from the file Record must be read first