COBOL simulation: random number generation for binary and decimal computers

ACM-SE 14 Pub Date : 1976-04-22 DOI:10.1145/503561.503609
F. J. Brewerton, E. Callahan, R. W. Gober
{"title":"COBOL simulation: random number generation for binary and decimal computers","authors":"F. J. Brewerton, E. Callahan, R. W. Gober","doi":"10.1145/503561.503609","DOIUrl":null,"url":null,"abstract":"Although the Common Business Oriented Language was originally designed for use in business data processing, the language is now being employed as a simulation language under certain limiting conditions. Factors influencing the application of the language to simulation studies include its popularity, its self-documenting characteristic, its \"believability,\" and its efficiency in programming the triangular distribution.A necessary requisite in any simulation study is the programming of random number generators to simulate the random occurrence of various events. Several methods of generating random numbers are available, but the technique most frequently used is the power residue method. Since most simulation studies are programmed with FORTRAN (a general purpose language), simulation languages (SIMSCRIPT, GPSS, GASP, etc.), or machine languages, little attention has been devoted to programming the power residue method of random number generation with COBOL.A procedure is presented which describes and discusses COBOL programming of random number generation for the binary computer and the decimal computer utilizing the power residue method. Program excerpts are provided to illustrate the procedure, and comparative differences in COBOL programming for the two computer types are noted. Conditions most favorable to COBOL programming of simulation studies are also discussed, as well as the conditions under which COBOL programming is not recommended.","PeriodicalId":151957,"journal":{"name":"ACM-SE 14","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1976-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 14","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503561.503609","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Although the Common Business Oriented Language was originally designed for use in business data processing, the language is now being employed as a simulation language under certain limiting conditions. Factors influencing the application of the language to simulation studies include its popularity, its self-documenting characteristic, its "believability," and its efficiency in programming the triangular distribution.A necessary requisite in any simulation study is the programming of random number generators to simulate the random occurrence of various events. Several methods of generating random numbers are available, but the technique most frequently used is the power residue method. Since most simulation studies are programmed with FORTRAN (a general purpose language), simulation languages (SIMSCRIPT, GPSS, GASP, etc.), or machine languages, little attention has been devoted to programming the power residue method of random number generation with COBOL.A procedure is presented which describes and discusses COBOL programming of random number generation for the binary computer and the decimal computer utilizing the power residue method. Program excerpts are provided to illustrate the procedure, and comparative differences in COBOL programming for the two computer types are noted. Conditions most favorable to COBOL programming of simulation studies are also discussed, as well as the conditions under which COBOL programming is not recommended.
COBOL模拟:二进制和十进制计算机的随机数生成
尽管面向业务的通用语言最初是为业务数据处理而设计的,但该语言现在在某些限制条件下被用作模拟语言。影响该语言在模拟研究中的应用的因素包括它的流行程度、它的自记录特性、它的“可信度”以及它在三角分布编程中的效率。在任何模拟研究中,都必须对随机数生成器进行编程,以模拟各种事件的随机发生。产生随机数的方法有几种,但最常用的是幂余法。由于大多数仿真研究都是用FORTRAN(通用语言)、仿真语言(SIMSCRIPT、GPSS、GASP等)或机器语言进行编程,很少有人关注用COBOL编程随机数生成的幂余法。介绍和讨论了利用幂余法在二进制计算机和十进制计算机上实现随机数生成的COBOL编程程序。本文提供了程序摘录来说明这个过程,并指出了这两种计算机类型在COBOL编程方面的比较差异。还讨论了最有利于COBOL编程的仿真研究条件,以及不推荐COBOL编程的条件。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信