www.ibm.com Open in urlscan Pro
2a02:26f0:480:9ac::1e89  Public Scan

URL: https://www.ibm.com/docs/zh-tw/zvm/7.2?topic=three-put-command
Submission: On July 14 via manual from US — Scanned from DE

Form analysis 1 forms found in the DOM

GET https://www.ibm.com/search?lnk=mhsrch

<form id="bx--masthead__search--form" action="https://www.ibm.com/search?lnk=mhsrch" method="get"><input type="hidden" name="lang" value="en"><input type="hidden" name="cc" value="us"><input type="hidden" name="lnk" value="mhsrch">
  <div class="react-autosuggest__container"><input type="text" autocomplete="off" aria-autocomplete="list" aria-controls="react-autowhatever-1" class="bx--header__search--input" placeholder="搜尋位置 z/VM 7.2" aria-label="搜尋位置 z/VM 7.2" role="combobox"
      aria-expanded="false" data-autoid="dds--header__search--input" name="q" value="">
    <div id="react-autowhatever-1" role="listbox" class="react-autosuggest__suggestions-container" aria-labelledby="react-autowhatever-1"></div>
  </div>
</form>

Text Content

Skip to main content

說明文件
公告信IBM Redbooks產品清單目錄
z/VM 7.2

Backz/VM 7.2z/VMz/VM 7.3z/VM 7.2
Backz/VM

Backz/VM 7.3

Backz/VM 7.2



說明文件
 * 公告信
 * IBM Redbooks
 * 產品清單
 * 目錄
 * z/VM 7.2
   z/VM
   z/VM 7.3
   z/VM 7.2




Search all of IBM
Close

z/VM
關閉目錄
變更版本
Select
7.37.2
顯示完整目錄

針對標題的過濾器
 * * z/VM 7.2 documentation (June 2023)
     
     
   * System Overview
     
     
   * Installation, Migration, and Service
     
     
   * Planning and Administration
     
     
   * Customization and Tuning
     
     
   * Operation and Use
     
      * z/VM: CMS Commands and Utilities Reference
        
        
      * z/VM: CMS Primer
        
         * Abstract for z/VM: CMS Primer
           
         * Summary of Changes for z/VM CMS Primer
           
         * Getting Started
           
           
         * Editing Files
           
            * Creating Files
              
              
            * Changing Files (Part One)
              
              
            * Changing Files (Part Two)
              
              
            * Changing Files (Part Three)
              
               * Inserting Data from Another File
                 
                 
               * I Do Not Want to Keep the Changes!
                 
               * SET NUMBER ON Command
                 
               * PUT Command
                 
               * Sorting a File
                 
                 
               * Getting Help
                 
               * Summary
                 
           
            * Protecting Your Files
              
              
            * More About Editing
              
              
        
         * How to send feedback to IBM
           
           
         * Managing Your Files
           
           
         * Printing Files
           
           
         * Communicating with Other Users
           
           
         * Asking Questions
           
           
         * Keyboard Key/Function Conversions
           
     
      * z/VM: CMS User's Guide
        
        
      * z/VM: CP Commands and Utilities Reference
        
        
      * z/VM: System Operation
        
        
      * z/VM: Virtual Machine Operation
        
        
      * z/VM: XEDIT Commands and Macros Reference
        
        
      * z/VM: XEDIT User's Guide
        
        
   
   * Application Programming
     
     
   * Diagnosis
     
     
   * Data Facility Storage Management System for z/VM
     
     
   * Directory Maintenance Facility for z/VM
     
     
   * Performance Toolkit for z/VM
     
     
   * RACF Security Server for z/VM
     
     
   * RSCS Networking for z/VM
     
     
   * TCP/IP for z/VM
     
     
   * z/VM data areas, control blocks, monitor records, and related information
     
   * Device Support Facilities
     
   * Display Management System for CMS
     
     
   * Environmental Record Editing and Printing Program
     
   * Open Systems Adapter
     
   * VM/Pass-Through Facility
     
     
   * XL C/C++ for z/VM, 1.3
     
     

公告和銷售手冊
下載 PDF
離線文件
Focus sentinel
此特性正在開發。
Focus sentinel
 1. 所有產品
 2. z/VM
 3. 7.2

變更版本
變更版本7.37.2
此主題有用嗎?
是否
Focus sentinel


為此內容評分

非常好! 讓我們瞭解您發現哪些內容有幫助。

評論 0/750


Note: This feedback goes to your product's documentation team and does not
include a response. Issues that require a response should go through IBM
support.
取消提交
Focus sentinel
Focus sentinel


為此內容評分

我們可以採取哪些動作以改良內容?

評論 0/750


Note: This feedback goes to your product's documentation team and does not
include a response. Issues that require a response should go through IBM
support.
取消提交
Focus sentinel
Focus sentinel
為此內容評分
謝謝您提供意見!
我們可以一起繼續改進 IBM Documentation。
回到主題
Focus sentinel
Focus sentinel


謝謝您的提交。

每個主題的提交限制為每天 1 個。

Focus sentinel
Focus sentinel


提交評級時發生錯誤

向團隊傳送您的意見時發生錯誤。您的評論已儲存在本地,如果未使用無痕瀏覽器,則當您嘗試重新提交意見時,此評論將可用。

請稍後重試。

Focus sentinel



PUT COMMAND

前次更新時間: 2021-12-17

Another way you can insert part of a file into another file is to use the PUT
command. The PUT command lets you insert lines from a current file into a second
file.

The PUT command stores a copy of a certain number of lines, starting with the
current line. You can then append the stored lines to the end of another file.

The format of the PUT command is:

PUT number-of-lines filename filetype filemode

Copied!



Filemode Note: It is necessary to specify the filemode if it is other than the
default of = (equal to the file mode of the file you are currently editing).

The command puts the number of lines into the file you specify.

Another way to tell the editor how many lines you want to put is by typing a
string. Remember the LOCATE command? When you learned about the LOCATE command,
you searched files for a certain word or words—a string. You can also use a
string with the PUT command. You can tell the editor to put all the lines,
starting with the current line, up to but not including the line with the
string.

To do so, use this command format:

PUT /string/ filename filetype filemode

Copied!



Filemode Note: It is necessary to specify the filemode if it is other than the
default of =.

Therefore, both PUT number-of-lines and PUT /string/ do the same thing.

Let us insert part of the STOCK INVEN file into CRIME THEFT.

Enter:

x stock inven

Copied!
The file contains the following lines:

03469  GASKET          AA0306  9432
32554  RATCHET         AA0205  3762
32868  DOOHICKEY       BB0206  5248
64400  GIZMO           CC0101  9942
09263  WIDGET          AA0403  8645
60637  THINGAMABOB     BB0202  5432
26023  WHATCHAMACALLIT BB0306  9321

Copied!

We are going to insert the first two lines of STOCK INVEN after the last line in
CRIME THEFT. So make the first line of STOCK INVEN the current line.

Now enter:

====> put 2 crime theft

Copied!
This command will append the lines

03469  GASKET          AA0306  9432
32554  RATCHET         AA0205  3762

Copied!

to the bottom of the CRIME THEFT file.

Press PF3 to quit the STOCK INVEN file (leaving it unchanged).

Then enter

x crime theft

Copied!

to view the new contents of the CRIME THEFT file.

CRIME THEFT now contains these lines:

Mort, Mort, the plumber's son,
Stole a cow and away he run.
The cow got loose and scared a goose,
And Mort got put in the calaboose.
03469  GASKET          AA0306  9432
32554  RATCHET         AA0205  3762

Copied!

The lines you put in were inserted at the end.

At this point, you can delete the last two lines and enter FILE to return the
file to its original form. Or, if you prefer, simply quit the file, leaving the
additional lines you put in from STOCK INVEN.



雖然 IBM 重視使用內含語言,但為了維護使用者理解,有時需要 IBM直接影響以外的術語。 隨著其他產業領導者加入 IBM 的使用, IBM
將繼續更新文件以反映那些變更。

© Copyright IBM Corporation 2020, 2023
 * 聯絡人
 * 隱私權條款
 * 使用條款
 * 協助工具
 * Cookie 偏好設定

Choose a language

Choose a language
阿拉伯文 / عربية保加利亞文 / Български加泰蘭文 / Català捷克文 / Čeština丹麥文 / Dansk德文 /
Deutsch希臘文 / Ελληνικά英文 / English西班牙文 / Español芬蘭文 / Suomi法文 / Français克羅埃西亞文 /
Hrvatski匈牙利文 / Magyar義大利文 / Italien希伯來文 / עברית日文 / 日本語韓文 / 한국어哈薩克文 / Қазақша荷蘭文
/ Nederlands挪威文 / Norsk波蘭文 / polski葡萄牙文/巴西 / Português/Brasil葡萄牙文/葡萄牙 /
Português/Portugal羅馬尼亞文 / Română俄文 / Русский斯洛伐克文 / Slovenčina斯洛維尼亞文 /
slovenščina塞爾維亞文 / srpski瑞典文 / Svenska泰文 / ภาษาไทย土耳其文 / Türkçe越南文 / Việt簡體中文 /
简体中文繁體中文
 * IBM Documentation Help



IBM web domains

ibm.com, ibm.dev, ibm.org, ibm-zcouncil.com, insights-on-business.com, jazz.net,
merge.com, micromedex.com, mobilebusinessinsights.com, promontory.com,
proveit.com, ptech.org, resource.com, s81c.com, securityintelligence.com,
skillsbuild.org, softlayer.com, storagecommunity.org, strongloop.com,
teacheradvisor.org, think-exchange.com, thoughtsoncloud.com, trusteer.com,
truven.com, truvenhealth.com, alphaevents.webcasts.com, betaevents.webcasts.com,
ibm-cloud.github.io, ibmbigdatahub.com, bluemix.net, mybluemix.net, ibm.net,
ibmcloud.com, redhat.com, galasa.dev, blueworkslive.com, swiss-quantum.ch,
altoromutual.com, blueworkslive.cn, blueworkslive.com, cloudant.com, ibm.ie,
ibm.fr, ibm.com.br, ibm.co, ibm.ca, silverpop.com,
community.watsonanalytics.com, eclinicalos.com, datapower.com,
ibmmarketingcloud.com, thinkblogdach.com, truqua.com, my-invenio.com,
skills.yourlearning.ibm.com, bluewolf.com, asperasoft.com, instana.com,
taos.com, envizi.com, carbondesignsystem.com
關於本網站的 Cookie 本公司網站須有若干 Cookie(所需 Cookie),始得正常運作。 此外,經
貴客戶同意後,為分析網站使用情形、改善使用者體驗及進行廣告,亦可能使用其他 Cookie。 如需相關資訊,請檢閱 貴客戶 Cookie 喜好設定
 options. By visiting our website, you agree to our processing of information as
described in IBM’s 隱私權聲明。 為提供順暢之導覽,將於以下 所列 IBM Web 網域間共用 貴客戶 Cookie 喜好設定。

全部接受 僅限所需