You are here: Home > Knowledge Refreshers

KR editions 58 to 59


KR-58: TSO command WHOHAS

The TSO command: 
         whohas 'Dataset name' 

will give you details about who has been allocated a particular dataset (the job name, disposition, the region where the job is running). 
Go to start-> option 6 and type the command.

This is useful in case you find that your job is stuck because of an unavailable dataset (another option is to try opening the dataset in 3.4 which would give an error saying "cannot open"; then press F1 twice and you'll get a list of jobs using that dataset). 


KR-59: Some points about COMP (COMP-4/ BINARY) format

  • This format occupies 2/4/8 bytes of storage. And one bit (note that it is just a bit) is used for storing the sign.

  • To store 4 decimal digits requires 2 bytes of memory; 5 to 9 digits needs 4 bytes and 10 to 18 digits requires 8 bytes.

  • Binary data is not easily converted into displayable data (COMP-3s are better suited for this purpose) and it isn't possible to view COMP values in normal edit/view modes (even if you use HEX ON mode). 

  • Arithmetic calculations will be faster in COMP format. 

(Note: Figures obtained from IBM COBOL Programmer's guide) 

 

Did u know that NDM is the acronym for Network DataMover? 


Go back to the main contents page