主机开发 面试问题 MAINFRAME interview questions.doc

主机开发 面试问题 MAINFRAME interview questions.doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
主机开发 面试问题 MAINFRAME interview questions

MAINFRAME - COBOL INTERVIEW QUESTIONS 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? 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 usigned 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? 01 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? 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? 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? 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 while defining the array, you

文档评论(0)

pangzilva + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档