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 ****************************
——————————————————————————————————–
In United States, If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
——————————————————————————————————–
You may also like to look at: