1 / 110
文档名称:

always asked mainframe questions.doc

格式:doc   页数:110
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

always asked mainframe questions.doc

上传人:管理资源吧 2011/8/27 文件大小:0 KB

下载得到文件列表

always asked mainframe questions.doc

文档介绍

文档介绍:COBOL & COBOL II
Name the divisions in a COBOL program ?.
IDENTIFICATION DIVISION, ENVIRONMENT DIVISION, DATA DIVISION, PROCEDURE DIVISION.
What are the different data types available in COBOL?
Alpha-numeric (X), alphabetic (A) and numeric (9).
What does the INITIALIZE verb do? - GS
Alphabetic, Alphanumeric fields & alphanumeric edited items are set to SPACES. Numeric, Numeric edited items set to ZERO. FILLER , OCCURS DEPENDING ON items left untouched.
What is 77 level used for ?
Elementary level item. Cannot be subdivisions of other items (cannot be qualified), nor can they be subdivided themselves.
What is 88 level used for ?
For condition names.
What is level 66 used for ?
For RENAMES clause.
What does the IS NUMERIC clause establish ?
IS NUMERIC can be used on alphanumeric items, signed numeric & packed decimal items and unsigned numeric & packed decimal items. IS NUMERIC returns TRUE if the item only consists of 0-9. However, if the item being tested is a signed item, then it may contain 0-9, + and - .
How do you define a table/array in COBOL?
ARRAYS.
05 ARRAY1 PIC X(9) OCCURS 10 TIMES.
05 ARRAY2 PIC X(6) OCCURS 20 TIMES INDEXED BY WS-INDEX.
Can the OCCURS clause be at the 01 level?
No.
What is the difference between index and subscript? - GS
Subscript refers to the array occurrence while index is the displacement (in no of bytes) from the beginning of the
array. An index can only be modified using PERFORM, SEARCH & SET. Need to have index for a table in order to
use SEARCH, SEARCH ALL.
What is the difference between SEARCH and SEARCH ALL? - GS
SEARCH - is a serial search.
SEARCH ALL - is a binary search & the table must be sorted ( ASCENDING/DESCENDING KEY clause to be used & data loaded in this order) before using SEARCH ALL.
What should be the sorting order for SEARCH ALL? - GS
It can be either ASCENDING or DESCENDING. ASCENDING is default. If you want the search to be done on an
array sorted in descending order, then w

最近更新

2025年山东省青岛市单招职业倾向性考试模拟测.. 40页

2025年山东英才学院单招综合素质考试模拟测试.. 39页

2025年山西工程职业学院单招职业倾向性考试模.. 40页

2025年山西省阳泉市单招职业倾向性考试模拟测.. 40页

2025年山西艺术职业学院单招职业适应性测试题.. 40页

2025年山西通用航空职业技术学院单招职业适应.. 40页

2025年常州纺织服装职业技术学院单招职业适应.. 39页

2025年广东交通职业技术学院单招综合素质考试.. 40页

2025年广东松山职业技术学院单招职业适应性测.. 41页

2025年广东生态工程职业学院单招职业适应性测.. 39页

2025年广东省江门市单招职业倾向性考试模拟测.. 39页

2025年广东茂名幼儿师范专科学校单招职业技能.. 40页

人教PEP2024版小学英语四上Unit4 测试卷-有答.. 4页

2025年广州工程技术职业学院单招职业倾向性测.. 40页

2025年广西制造工程职业技术学院单招综合素质.. 40页

2025年广西安全工程职业技术学院单招职业倾向.. 40页

2025年广西建设职业技术学院单招职业倾向性测.. 41页

教师“双减”背景下教学心得体会 5页

2025年广西省来宾市单招职业倾向性考试模拟测.. 41页

2025年广西科技职业学院单招职业技能考试模拟.. 40页

2025年广西英华国际职业学院单招职业技能考试.. 41页

2025年张家界航空工业职业技术学院单招职业适.. 40页

2025年德州科技职业学院单招职业适应性测试模.. 41页

2025年徽商职业学院单招职业适应性测试模拟测.. 40页

2025年惠州卫生职业技术学院单招职业适应性测.. 41页

2025年成都工贸职业技术学院单招综合素质考试.. 40页

2025年成都艺术职业大学单招职业倾向性考试模.. 41页

2025年扬州市职业大学单招职业技能测试模拟测.. 39页

2025年抚顺师范高等专科学校单招职业倾向性测.. 40页

2025年新乡职业技术学院单招职业倾向性考试模.. 39页