zoukankan      html  css  js  c++  java
  • 动态操作文件

    FFile1     if   e             Disk    Extfile(FilNam) ExtMbr(MbrNam)
    F                                            UsrOpn                        
    *                                                                  
    D FilNam            s             10a   Inz                           
    D MbrNam          s             10a   Inz                           
    *                                                                  
    * Process first member data.                                       
    *                                                                  
    C                   Eval      FilNam  =  'FILE1'                    
    C                   Eval      MbrNam  =  'MBR1'                     
    *                                                                  
    C                   Open      File1                                 
    C                   Read      File1                                 
    *                                                                  
    C                   DoW       Not %Eof(File1)                       
    C                                                                  
    C                                                                  
    C                                                                  
    C                   EndDo                                          
    C                   Close     File1                  
    *                                                   
    * Process second member data.                        
    *                                                   
    C                   Eval      FilNam  =  'FILE1'      
    C                   Eval      MbrNam  =  'MBR2'      
    *                                                   
    C                   Open      File1                  
    C                   Read      File1                  
    *                                                   
    C                   DoW       Not %Eof(File1)         
    C                                                     
    C                                                     
    C                                                     
    C                   EndDo                             
    C                   Close     File1                  
    *                                                   
    * Process Third member data.                        
    *                                                   
    C                   Eval      FilNam  =  'FILE1'  
    C                   Eval      MbrNam  =  'MBR3'   
    *                                                
    C                   Open      File1               
    C                   Read      File1               
    *                                                
    C                   DoW       Not %Eof(File1)     
    C                                                  
    C                                                
    C                                                
    C                   EndDo                        
    C                   Close     File1   
  • 相关阅读:
    RabbitMQ source was instantiated with usesCorrelationId set to true but a message was received with correlation id set to null
    【Ubuntu】运行命令如何免输入YES和回车?
    运营的本质
    什么???前端页面统计停留时间你不会???那可得好好看看这个文章了
    使用el-switch实现开关(更改状态后展示状态)
    Linux编译安装时常见错误解决办法
    SignalR前后端通信
    声音类型识别库运行环境搭建
    uniapp使用axios(亲测可用)
    background + gradient 使用技巧
  • 原文地址:https://www.cnblogs.com/mshwu/p/1269107.html
Copyright © 2011-2022 走看看