Вы находитесь на странице: 1из 4

1. Partitioned Dataset (PDS) Contains members and the members are used to develop software programs (COBOL,JCL,DB2,CICS,REXX) 2.

. Physical sequentila file (PS) - Store the data How to create a PDS OR PS? Ans: 3.2 (option) (1) (2) (3) (4) Allocate the dataset Rename the existing dataset Delete the dataset Display of the information of a dataset SHRDV04.ANJAN.COBOL Dataset Catalogued Volume No: ZAPRD5

Option 3.4 is used to list the dataset(s) START command .. it will open new logical sesssion (ISPF Primary Option Menu) LIST PF9 display all active logical sessions SAREA screen Area ( command line command)

The only difference in creating PDS and PS is number of directory blocks. If Number of directory blocks = 0 PS file If Number of directory blocks > 0 PDS RecFM File Name LRECL FB SHRDV09.AJ.FILE.FB 80 VB SHRDV09.AJ.FILE.VB 80

First 4 bytes of a variable block file going to be used to store the length of each record. I have two rows in SHRDV09.AJ.FILE.FB First row(record): 76 characters + 4 spaces 80 Second row(record): 3 characters + 77 spaces length: 80 Total how many bytes occupied: 160 bytes. I have two rows in SHRDV09.AJ.FILE.VB First row(record): 76 characters - 76 is going to be tored in the first 4 bytes Second row(record): 3 characters length: 3 Total how many bytes occupied: 79 bytes. 4 bits == 1 Nibble

8 bits 1 Byte 2 Bytes Half word 4 Bytes Full word 8 Bytes Double word 1 GB 10 power 09 bytes PROFILE is command will display the profile attributes of the file. 1. RECOVERY OFF/ON 2. NUMBER OFF/ON 3. CAPS OFF/ON 4. HEX OFF/ON 5. NULLS ON STD 6. TABS OFF/ON 7. AUTOSAVE OFF/ON 8. AUTONUM OFF/ON 9. PACK OFF (It should not be ON) 10. HILITE OFF/ON

UNNUM should be used for files. Num STD COB FOR PROGRAMS ( cols 73-80 will have Identification number) In Mainframe data is stored in EBCDIC (Extended Binary Coded Decimal Inter Change). If I want to see the data in Headecimal format Type HEX ON on command line. ANJAN 1 2 4CDDCD 4 F F 4 0151 1 5 0 1 2 0 A C 1 N D 5 J D 1 A C 1 N D 5 1 F 1 2 F 2

4 0

4 0

Read the data in hexa decimal format. Top to Down X40 space XC1 - A XF1 1 X00 LOW-VALUE (Lowest values in the mainframe computer) ( 1 Byte) XFF high-value (highest values in the mainframe computer) ( 1 Byte) IF -99999999999999 > LOW-VALUE (True)

X0000 2 bytes PACK OFF Data must be in PACK OFF format unless you require it in packed decimal format.

I am going to (a) compile a program which is in pack off format (b) Compile the same program which is in pack on format

Numeric data can be stored in different format(s) 1. EBCDIC 2. Computational (Binary format) (COMP) 3. Packed Decimal format ( Decimal + hexa decimal ) (comp-3) 4. COMP-1 5. COMP-2 Key Definition F1 . . . HELP F2 . . . SAVE F3 . . . EXIT F4 . . . F5 . . . RFIND (Repeat find) F6 . . . RCHANGE (Repeat change) F7 . . . UP (Depends on The SCROLL value) F8 . . . DOWN (Depends on The SCROLL value) F9 . . . SWAP F10 . . LEFT (Depends on The SCROLL value) F11 . . RIGHT (Depends on The SCROLL value) F12 . . CANCEL SCROLL values: HALF PAGE CSR Numeric value Commands F STRING NAME C WS-MARKS WS-MKS C ALL WS-MKS WS-MARKS

Question: Can I have the history of total changes made to a PDS member (eg. COBOL). Ans: PDS member cannot have history Question: Can I have the history of total changes made to a program which is present in endevor/Changeman (eg. COBOL). Ans: Yes. You can have the history for any member that is present in VERSION CONTROLLER ENDEVOR/CHANGEMAN

LIST PF9 Displays all active logical sessions Swap list Displays all active logical sessions Screen number PF9 This command will show you numbered screen 1 PF9 First screen will be shown 8 PF9 8th screen will be shown

Steps involved in executing the cobol program? Compilation (COMPILE JCL) In the organization: Changeman Execution (RUN JCL) Compilation: 1. Compile the program with COBOL compiler IGYCRCTL (O/P: OBJECT module) 2. Link edit the program with link edior IEWL 3. Out put of the compilation process is LOAD MODULE Execution: 1. Use the load module obtained from the compilation process 2. Run the program using RUN JCL. Murach publications

Вам также может понравиться