AS/400 ASCII Work Station Reference Version 3 Publication No
Total Page:16
File Type:pdf, Size:1020Kb
AS/400 SA41-3130-00 ASCII Work Station Reference Version 3 IBM AS/400 SA41-3130-00 ASCII Work Station Reference Version 3 Take Note! Before using this information and the product it supports, be sure to read the general information under “Notices” on page xvii. First Edition (September 1994) This edition applies to the licensed program IBM Operating System/400, (Program 5763-SS1), Version 3 Release 1 Modification 0, and to all subsequent releases and modifications until otherwise indicated in new editions. Make sure you are using the proper edition for the level of the product. | Order publications through your IBM representative or the IBM branch serving your locality. If you live in the United States, Puerto | Rico, or Guam, you can order publications through the IBM Software Manufacturing Company at 800+879-2755. Publications are not stocked at the address given below. A form for reader comments is provided at the back of this publication. If the form has been removed, you can mail your comments to: Attn Department 245 IBM Corporation 3605 Highway 52 N Rochester, MN 55901-9986 USA or you can fax your comments to: United States and Canada: 800+937-3430 Other countries: (+1)+507+253-5192 | If you have access to Internet, you can send your comments electronically to [email protected]; IBMMAIL, to | ibmmail(usib56rz). When you send information to IBM, you grant IBM a non-exclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you or restricting your use of it. Copyright International Business Machines Corporation 1994. All rights reserved. Note to U.S. Government Users — Documentation related to restricted rights — Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp. Contents Notices . xvii Safety and Environmental Notices ......................... xviii | Product Recycling . xviii | Product Disposal . xviii Electronic Emission Notices .............................. xix Trademarks and Service Marks ........................... xx | About ASCII Work Station Reference (SA41-3130) ............... xxi Part 1 – Reference Chapter 1. Introducing Support on the ASCII Work Station Controller .. 1-1 Brief Description of the AS/400 ASCII Support Function ............. 1-4 Port Arrangement . 1-4 ASCII Work Station Parameters on the AS/400 System ............. 1-4 ASCII Consoles Supported .............................. 1-5 ASCII Display Stations Supported .......................... 1-5 Personal Computers Supported ........................... 1-7 ASCII Printers Supported ............................... 1-7 Modems Supported . 1-9 Attachment Methods Supported .......................... 1-10 National Languages Supported on Display Stations ............... 1-10 Base National Language Support on Display Stations ............ 1-11 Expanded National Language Support on Display Stations ......... 1-12 National Languages Supported on Printers .................... 1-14 Performance Considerations . 1-15 Chapter 2. Work Station and Modem Setup Considerations ........ 2-1 An Outline of the Setup Process ........................... 2-2 Guidelines for ASCII Work Station Setup ...................... 2-3 ASCII Display Station Setup Considerations .................... 2-4 Console . 2-4 Alternative Console . 2-5 Personal Computers . 2-5 Types of Display Station Setting Adjustments .................. 2-5 Specifying a Terminal Identifier ........................ 2-6 Example: Adjust Settings on IBM 3151 Display Station ............ 2-6 ASCII Printer Setup Considerations ........................ 2-11 Special Considerations for Auxiliary Printers ................. 2-11 Word Length Considerations ........................... 2-12 Adjustment Switches . 2-12 Modem Setup Considerations ........................... 2-13 Modem Requirements . 2-14 Modem Setup Guidelines ............................ 2-14 Connecting Modems . 2-15 Considerations Before Setting Adjustments ................ 2-15 Types of Modem Setting Adjustments .................... 2-16 System Configuration Considerations ..................... 2-16 Copyright IBM Corp. 1994 iii Chapter 3. Operation Considerations . 3-1 Operating ASCII Work Stations ............................ 3-2 General Error Detection and Recovery Considerations .............. 3-2 ASCII Display Station Operations .......................... 3-2 Attachment Considerations . 3-2 Display Attributes . 3-3 Display Status Indicators .............................. 3-4 Keyboard Operations . 3-5 Summary of Keyboard Functions Supported ................. 3-5 Keyboard Characteristics . 3-6 Keyboard Differences . 3-7 Keyboard Error Recovery ............................ 3-7 ASCII Printer Operations ............................... 3-7 Auxiliary Printer Operations ............................ 3-8 PTT Operations . 3-9 Adaptive Polling . 3-9 Inactivity Timer . 3-10 ASCII Port Sharing .................................. 3-10 Automatic Detection of Line Speed, Parity, and Word Length ........ 3-11 Nonprogrammable Work Stations ...................... 3-11 Programmable Work Stations ........................ 3-12 Automatic Detection of Device Type ...................... 3-12 Automatic Detection of Both Device Type Plus Line Speed, Parity, and Word Length . 3-13 Auxiliary Printers and ASCII Port Sharing ................... 3-13 132 Column Support ................................. 3-13 132 Column Support and Automatic Device Type Detection .......... 3-14 Emulation Program on Personal Computers ................... 3-14 Personal Computers Running Client Access/400 Asynchronous Communications . 3-14 Using the OfficeVision/400 Program ........................ 3-14 Customizing Work Stations Attached to an ASCII Work Station Controller .. 3-15 Chapter 4. Programming Considerations . 4-1 ASCII Printer Data Stream Interface Commands .................. 4-2 Printers Emulating 5256 ............................. 4-2 Printers Emulating 5224 ............................. 4-4 Printers Emulating 3812 or 5219 ........................ 4-5 Word Underscore (WUS) ............................ 4-8 Indent Tab . 4-8 Set Horizontal Format (2BC1nnhh) ...................... 4-8 Set Line Density (2BC6nnld) .......................... 4-9 Set Single Line Distance (2BD20415ld) ................... 4-10 Set FID through GFID (2BD10705gfgffwfwfa) ............... 4-11 Justify Text Field (2BD2nn03rerepr) ..................... 4-12 Set Justify Mode (2BD2nn0Dstpr) ...................... 4-13 Set Initial Conditions (2BD220345is) .................... 4-14 Set Character Distance (2BD2042900cd) .................. 4-15 Set Presentation Page Size (2BD2nn40wdwdlnln) ............ 4-18 Set Vertical Margin (2BD2nn49tmbm) .................... 4-18 Set Exception Action (2BD2nn85ecac) ................... 4-19 Begin Underscore (2DB4nn0A01bp) ..................... 4-19 End Underscore (2BD4020E) ......................... 4-19 Begin Overstrike (2BD4nn72chgccp) .................... 4-19 iv AS/400 ASCII Work Station Reference V3R1 End Overstrike (2BD40276) ......................... 4-20 Select Global Character Set ID (2BD10601gcgccpcp) .......... 4-20 Unit Backspace (1A) .............................. 4-20 Page Presentation Media (2BD2nn48xxxxfcsddoddqqdx...) ....... 4-21 Set Coded Graphic Character Set through ID (2BD10381lcid) ...... 4-21 Set Print Setup (2BD2nn4Cxxpfxxsi) .................... 4-22 Set Horizontal Margins (2BD2nn11lmrm) .................. 4-22 Transparency . 4-23 Example of Using Transparency ....................... 4-23 Part 2 – Example Chapter 5. Introducing the ASCII Work Station ................ 5-1 What Is an ASCII Work Station? ......................... 5-2 What is Asynchronous Communication? ..................... 5-2 What Is the ASCII Work Station Controller? ................... 5-2 | Terminology Used in the Example Portion of This Book ............ 5-3 Chapter 6. Scenario of Our Example and Tasks Included .......... 6-1 Scenario for a Sample Configuration ....................... 6-2 Tasks Explained in the Example ......................... 6-5 Chapter 7. Planning for the Device Configuration ............... 7-1 Gathering the Planning Forms and Worksheet ................. 7-2 Planning for Education ............................... 7-3 Listing the Equipment You Need ......................... 7-3 Ordering Supplies . 7-3 Ordering Publications . 7-3 Making Arrangements for Equipment Maintenance ............... 7-3 Chapter 8. Completing Forms . 8-1 Completing Form X-1 - Recording Resource Names ............... 8-2 Determining the Resource Name ....................... 8-2 Gathering Information for Form C7 - Diagram for Devices ............ 8-5 Completing Form C7 (Part 1) - Diagram for Devices ............... 8-7 Completing the Top Portion ............................ 8-8 Completing the Port Diagram ........................... 8-8 Completing the Middle Portion ........................... 8-9 Completing the Auxiliary Printer Portion .................... 8-10 Completing Form C7 (Part 2) - Diagram for Devices .............. 8-13 Completing the Top Portion ........................... 8-13 Completing the Port Diagram .......................... 8-14 Completing the Modem 1 Portion ........................ 8-14 Completing the Modem 2 Portion ........................ 8-14 Completing the Display Station Portion ..................... 8-15 Completing the Auxiliary Printer Portion .................... 8-15 Completing Form D3 - ASCII Work Station Controller Index .......... 8-18