Tags

, , , , , ,

MAINFRAME – PS DATASET GETTING NUMBER AT END AUTOMATICALLY

Whenever we create a PS dataset and edit it to create new records, the last 8 bytes would be automatically occupied by the number sequence as shown below.

=COLS> -1—-+—-2—-+—-3—-+—-4—-+—-5—-+—-6—-+—-7—-+—-8

****** ***************************** Top of Data ******************************

=PROF> ….INPUT (FIXED – 80)….RECOVERY OFF WARN….NUMBER ON STD…………

=PROF> ….CAPS OFF….HEX OFF….NULLS ON STD….TABS OFF…………………

=PROF> ….AUTOSAVE ON….AUTONUM OFF….AUTOLIST OFF….STATS OFF………….

=PROF> ….PROFILE UNLOCK….IMACRO NONE….PACK OFF….NOTE ON…………….

=PROF> ….HILITE DEFAULT PAREN CURSOR FIND………………………………

000100 00000100

000200 00000200

****** **************************** Bottom of Data ****************************

This happens as the NUMBER option in PROFILE is ON.

To stop getting these numbers automatically, have the NUMBER option in OFF mode by providing the command NUM OFF. Now when you insert a new record, you will not see this number.

=COLS> -1—-+—-2—-+—-3—-+—-4—-+—-5—-+—-6—-+—-7—-+—-8

****** ***************************** Top of Data ******************************

=PROF> ….INPUT (FIXED – 80)….RECOVERY OFF WARN….NUMBER OFF……………

=PROF> ….CAPS OFF….HEX OFF….NULLS ON STD….TABS OFF…………………

=PROF> ….AUTOSAVE ON….AUTONUM OFF….AUTOLIST OFF….STATS OFF………….

=PROF> ….PROFILE UNLOCK….IMACRO NONE….PACK OFF….NOTE ON…………….

=PROF> ….HILITE DEFAULT PAREN CURSOR FIND………………………………

000001 A 00000100

000002 B 00000200


000003 C

****** **************************** Bottom of Data ****************************

You may also like to look at:

 

SORT JOIN – TO JOIN TWO FILES BASED ON A KEY
KNOW YOUR MAINFRAME
REXX – INITIAL SETUP

AMODE and RMODE
cobol indicator area column-7 and area a and area b
COBOL program format
Computational items – COMP, COMP 1 , COMP 2, COMP 3
Conditional processing
Continuation lines in COBOL
GOBACK – EXIT PROGRAM – STOP RUN
MAINFRAME – GRANT and REVOKE Dataset Access
MAINFRAME – PS DATASET GETTING NUMBER AT END AUTOMATICALLY
Member Selection in ISPF 3.4
NDM – FASTER MODE
SDSF TIPS
SDSF; Status panel (ST) Columns
The IDENTIFICATION DIVISION
TSO/E COMMANDS
Xpediter – Batch Setup

Advertisements