Home > AS/400 Tips > iSeries programmer tips > Advanced copy/paste techniques for Client Access
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES PROGRAMMER TIPS

Advanced copy/paste techniques for Client Access


Daniel Kuchar
08.09.2002
Rating: -4.42- (out of 5) Hall of fame tip of the month winner


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Most of us who use work on the iSeries do so through the network via IBM Client Access. Most of us are aware that it is possible to copy text from our iSeries session and paste it into a Windows application, such as MS Word or Excel and vice versa.

Cutting and pasting text to / from your iSeries screen is pretty standard stuff. What you may not know is what to do when you want to cut several pages worth of data from your iSeries screen into your Windows document. Your current methods probably go something like this:

1. Select / copy one page of text from iSeries screen.
2. Toggle over to Word or Excel document.
3. Paste text into Word or Excel document.
4. Toggle back to iSeries screen.
5. Page down to display next page of data.
6. Select / copy another page of text from iSeries screen.
7. Toggle over to Word or Excel document.
8. Paste text into Word or Excel document where you left off.
9. Repeat steps one through eight until you finish, lose track of where you left off or become nauseated.

You can make this process much less cumbersome using the Copy Append option under the Edit pull-down menu. Check it out.

1. Select first page of data from your iSeries screen.
2. Copy the text by pressing the COPY button (or ALT-E-C).
3. Page down to the next page of data.
4. Select the text in the next page of data.
5. Copy the second page (and each subsequent page) of data using the Copy / Append feature. NOTE: The shortcut for this function is ALT-E-D.
6. Toggle over to your Windows application and PASTE ONCE!!! All the data from your first copy and every COPY / APPEND pastes into your application.

What if you want to do exactly the opposite -- that is, copy from a Windows application and paste into your iSeries session. Must you resign yourself to copying and pasting one page at a time? The answer is an emphatic and resounding NO!

Say, for example, that you want to copy a list of item number from your Word document and paste them into your entry screen on the iSeries but you have more (much more) than one page in your paste buffer. Enter the 'PASTE NEXT' function.

1. Copy the selected text from your Windows application.
2. Paste into your iSeries screen by positioning your cursor where the paste begins and clicking on the Paste button OR ALT-E-P.

3. Page down, position your cursor again and select Paste Next from the Edit pull down menu (or use keystrokes ALT-E-N).

I have found this real handy for copying a column of numbers from a spool file (on line) into a spreadsheet and then using the SUM function to 'prove' that the totals on the report are correct. Many of you might find this info 'old hat' but I am constantly amazed how many 'veteran' iSeries users don't know it.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries ILE programming
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
How to use an embedded SQL statement and display the result in a subfile
Eight steps for creating program documentation using AS/400 utilities
Searching fields for values
Searching part of a name or address in AS/400
Top 10 programmer tips YTD
How to use the binder language to manage service programs -- Part 3: Examples and pitfalls
Top 10 programmer tips of 2005
How to use the binder language to manage service programs -- Part 2: Understanding the binder language

iSeries CL programming
Taking advantage of CL advancements, starting with V5R3
Checking in on your IBM i authorization lists
Running PHP open source applications: NOBODY needs authority
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
CL program for daily backups
An automated CL method of moving a query from AS/400 to Excel
Changing user password expiration
Eight steps for creating program documentation using AS/400 utilities
DAYSPAST CLLE program for AS/400: Compares object creation date with today's date
Advanced Job Scheduler help

iSeries programmer tips
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Implementing a browser interface in COBOL: Displaying database fields
Taking advantage of CL advancements, starting with V5R3
TAATOOL: Useful tools for programmers on IBM i
Implementing a browser interface in COBOL: Creating your graphic Web page
Implementing a browser interface in COBOL: Getting started
Making the most of RPG data handling on IBM i
Groovy programming on IBM i

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts