惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
SecWiki News
SecWiki News
爱范儿
爱范儿
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
S
SegmentFault 最新的问题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
V
V2EX
博客园 - 司徒正美
WordPress大学
WordPress大学
Y
Y Combinator Blog
B
Blog RSS Feed
H
Help Net Security
C
Check Point Blog
P
Proofpoint News Feed
Google DeepMind News
Google DeepMind News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
B
Blog
Help Net Security
Help Net Security
罗磊的独立博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Heimdal Security Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Cisco Talos Blog
Cisco Talos Blog
Blog — PlanetScale
Blog — PlanetScale
A
Arctic Wolf
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
The Register - Security
The Register - Security
F
Fortinet All Blogs
S
Securelist
Microsoft Security Blog
Microsoft Security Blog
O
OpenAI News
P
Privacy & Cybersecurity Law Blog
C
Cybersecurity and Infrastructure Security Agency CISA
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
T
Threat Research - Cisco Blogs
Martin Fowler
Martin Fowler
D
Docker
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events

博客园 - mshwu

桥接模式(Bridge Pattern) 单例模式 工厂方法模式 命名空间的规划 Download Manager Intent(二) Intent (一) Fragment (一) 2-1 Managing the Activity Lifecycle java1.5新特性(转) 1-4 Starting Another Activity 1-3 Building a Simple User Interface(创建简单的用户界面) 1-2 Android系统架构基本模式解析 1-1 Building Your First Android Application FTP Send File: Source Code Review(转) 通用日志管理工具 触发器程序 通过CLP实现library之间的自动复制 (转) OVRDBF的用法
动态操作文件
mshwu · 2008-08-16 · via 博客园 - mshwu

动态操作文件

Posted on 2008-08-16 09:12  mshwu  阅读(245)  评论()    收藏  举报

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