Week 8! Any Questions?.

Slides:



Advertisements
Similar presentations
Specifying Languages Our aim is to be able to specify languages for use in the computer. The sketch of the FSA is easy for us to understand, but difficult.
Advertisements

CL programming (with Display Files). Review Display Files Constants Input/Output fields Attributes Activating Function keys.
Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
Lecture 20 Arrays and Strings
FORTRAN PROGRAMMING BASICS (2) MET 50. Programming Basics A few extra things from last week… 1. For a program written in Fortran 90, use the extension.
CIS101 Introduction to Computing Week 09 Spring 2004.
1 Intro to the AS/400 Chapter 5 - CL Programming Copyright 1999 by Janson Industries.
IBC233 Week 1 Updated Fall 2010 Homework? Finish Lab 1 – hand in compile listings of the two programs at the beginning of next week’s Lab Period!
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Manipulating Text In today’s lesson we will look at: why we might want to pick out parts of text strings some BASIC functions that can be used to chop.
Set path vs current schema. Set Current Schema ‘The CURRENT SCHEMA special register specifies a VARCHAR(128) value that identifies the schema name used.
LECTURE 1 INTRODUCTION TO PL/SQL Tasneem Ghnaimat.
ROUND 1 Name a method associated with class String 1.) 15 compareTo() 26 indexOf() 34 length() 2.) 3.) 4.) 3 toUpper() 7 substring() 11 charAt() 5.)
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Command Line Arguments.
IBC233 Calling Programs Updated Summer Agenda Assignments are mandatory Assignment 2 due on July 13, 2007 Display files – lower case Display files.
Guide to Oracle 10g ITBIS373 Database Development Lecture 4a - Chapter 4: Using SQL Queries to Insert, Update, Delete, and View Data.
Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
ITIS 3110 LAB 7 Scripts. Final Projects Due today! Team captains need to wait for feedback Will review immediately after lecture done.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Keywords and Functions That is Different Copyright © by Curt Hill.
Scott Marino MSMIS Kean University MSAS5104 Programming with Data Structures and Algorithms Week 11 Scott Marino.
Week 4 presentation! This week we will cover editing and the use of the on-board tools provided, SEU and PDM.
Lecture 10: Modular Programming (functions) B Burlingame 13 April 2015.
Introduction to Strings CSIS 1595: Fundamentals of Programming and Problem Solving 1.
IBC233 Lecture 2 Updated Summer 2006 Agenda Review What’s ODIN doing? Library List Websphere –Filters.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Recursion.
So now we’re programming What do programs do? Manipulate (process) data Math Read files Write to files Create files.
COP 3275 – Character Strings Instructor: Diego Rivera-Gutierrez.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
IBC233 Lecture 2 Updated Summer 2007 Agenda Real Estate Issues Review System Values What’s ODIN doing? Library List Websphere –Filters –Writing a CL.
IBC233 Week 2 Updated Fall 2011 Homework? Finish Lab 1 – Due Today! Send me an with your userid when you are done! Download and install software.
JavaScript Modularity. Goals By the end of this lecture, you should … Understand why programmers use modularity. Understand how to create a function in.
2 nd Intro to Shell Scripting. Dates for Last Week of Class Homework 7 – Due Tuesday 5/1 by midnight Labs 7 & 8 or late ones – 8 is extra credit – Due.
1 CS101 Fall 2001 Lecture 1 In order to write a program, you must first telnet to your pegasus account and login either from a Rutgers computer in a lab,
1 Week # 5 Agenda CL Programming CL Commands Job Logs Review for test # 1.
Shell Scripting September 27, 2004 Class Meeting 6, Part II * Notes adapted by Lenwood Heath from previous work by other members of the CS faculty at Virginia.
Program Structure Example for Data Segment CRLF EQU 0DH, 0AH PROMPT DB 'Enter a digit between 0 and 9', 0 VAR1 DB ? ARRAY DW 1234h, 23h, 0FF54h.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
DEVRY CIS 170 C I L AB 5 OF 7 A RRAYS AND S TRINGS Check this A+ tutorial guideline at
GCSE COMPUTER SCIENCE Practical Programming using Python
Creating professional PDF documents from basic Spool Files, utilising report definitions, maps and dynamic use of images. (CVTSPLDBF & CVTSPLPDF)
How’s assignment 1 coming? Winter 2007
22BI Creating SQL Functions
INTERNAL COMMANDS CLS(Clear Screen):-
Shell Scripting March 1st, 2004 Class Meeting 7.
Objectives Identify the built-in data types in C++
IBC233 Week 2 Updated Winter 2011
Working with Forms and Regular Expressions
String Manipulation.
Announcements 2nd homework is due this week Wednesday (October 18)
Introduction to MS-DOS
SQL Text Manipulation Farrokh Alemi, Ph.D.
Arrays and Strings Chapter 9.
Summary of what we learned so far
Week 4 Updated Winter 2011.
Specifying Languages Our aim is to be able to specify languages for use in the computer. The sketch of the FSA is easy for us to understand, but difficult.
Manipulating Text In today’s lesson we will look at:
Announcements 3rd homework is due this week Wednesday (March 15)
C-to-LC3 Compiler Over the course of the next two weeks, you will build a program that will compile C code to LC-3 assembly language Don't panic! You.
MSIS 655 Advanced Business Applications Programming
Arrays.
Variables Here we go.
Dr. Sampath Jayarathna Cal Poly Pomona
IBC233 Week 2 Updated Fall 2011.
Compiler vs linker The compiler translates one .c file into a .o file
What is a String? String s = "compsci"; s c o m p s i
Announcements HW1 is due TODAY.
21st-Century CL Ted Holt Senior Software Developer, Profound Logic Software Senior Technical Editor, The Four Hundred
Unit-2 Objects and Classes
CL programming (with Display Files)
Presentation transcript:

Week 8! Any Questions?

Homework Work on Lab 5, Lab 6 and Lab 7

%trimr Used to remove trailing spaces from a character string in RPG! fname = ‘Cindy ‘; lname = ‘Laurin ‘; Then fullname = %trimr(fname) + lname; what would be the value of fullname?

Substring in CL %SST(&variable, start, length) Dcl &var1 *char len(20) value(‘IBC233’) Dcl &var2 *char len(5) Chgvar &var1 (%sst(&var1 4 3)) What is the value of &var1?

Commands Consist of a program with a compiled object Command Source Builds the command entry screen Calls the compiled object Interpreted

New CL Stuff Passing Parameters pgm (&parm1 &parm2) dcl &parm1 *dec (5 2) dcl &parm2 *char 5 To call this program call parmcl (X’10002F’ ‘TEST’)

DSPOBJD - RTVOBJD Shows/retrieves compile information about an object. Date compiled Version of the operating system used.

DSPCMD Displays information about a command including where the source code is!

Syntax for Command Source CMD PROMPT( ) PARM KWD ( ) + MIN( ) + TYPE( ) + LEN( ) + RSTD( ) + VALUES( ) + DFT( ) + PROMPT( )