IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to reset "edit profile" settings for a PDS?


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vishwa310

New User


Joined: 21 May 2012
Posts: 16
Location: India

PostPosted: Fri Jun 01, 2012 5:14 pm
Reply with quote

Hello!

Sometime back I was checking the list of available options to modify my ISPF profile in my site and without taking backup or anticipating the consequences I seem to have screwed my settings!!.. Now the problem is, when I intend to insert a blank line into a member of a certain PDS it inserts a comment line i.e it fills /* for the entire file length. I have to erase it and proceed with my actual input. This happens only for a certain PDS and only for ME, though it's a globally accessible PDS.

Utterly stupid, I know. I have no idea how to reset the statistics for my profile. Can someone point out to me what might have gone wrong?

Thanks!!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 01, 2012 6:55 pm
Reply with quote

Hello,

Is the problem pds different from the others (i.e. pdse versus pds)?

Quote:
when I intend to insert a blank line into a member of a certain PDS it inserts a comment line i.e it fills /* for the entire file length.

What is "file length"? The line, the member, other?

Edit a member in the problem pds and post the profile. Edit a member in some other pds and post the profile. See if there are any differences in the profiles.
Back to top
View user's profile Send private message
Vishwa310

New User


Joined: 21 May 2012
Posts: 16
Location: India

PostPosted: Sat Jun 02, 2012 12:55 pm
Reply with quote

dick scherrer wrote:
Hello,

Is the problem pds different from the others (i.e. pdse versus pds)?

Quote:
when I intend to insert a blank line into a member of a certain PDS it inserts a comment line i.e it fills /* for the entire file length.

What is "file length"? The line, the member, other?

Edit a member in the problem pds and post the profile. Edit a member in some other pds and post the profile. See if there are any differences in the profiles.


Thanks for your response! Here are the stats you asked for; I don't see a difference in them icon_sad.gif

PDS that works fine:

General Data Current Allocation
Management class . . : MCPDS Allocated cylinders : 398
Storage class . . . : SCDFAULT Allocated extents . : 2
Volume serial . . . : DSM168
Device type . . . . : 3390
Data class . . . . . : DEFAULT
Organization . . . : PO Current Utilization
Record format . . . : FB Used cylinders . . : 221
Record length . . . : 80 Used extents . . . : 2
Block size . . . . : 27920
1st extent cylinders: 148
Secondary cylinders : 250 Dates
Data set name type : PDS Creation date . . . : 2012/05/11
Referenced date . . : 2012/06/02
Expiration date . . : 2020/12/31

Profile with normal edit:


IKJ56688I CHAR(0) LINE(0) PROMPT INTERCOM NOPAUSE MSGID NOMODE WTPMS
G NORECOVER PREFIX(RS9F) PLANGUAGE(ENU) SLANGUAGE(ENU) VARSTORAGE(LOW)
IKJ56689I DEFAULT LINE/CHARACTER DELETE CHARACTERS IN EFFECT FOR THIS TERMINAL

---------------------------
PDS having problem

General Data Current Allocation
Management class . . : MCSTDSM Allocated tracks . : 1,102
Storage class . . . : SCDFAULT Allocated extents . : 6
Volume serial . . . : DSM330
Device type . . . . : 3390
Data class . . . . . : DEFAULT
Organization . . . : PO Current Utilization
Record format . . . : FB Used tracks . . . . : 884
Record length . . . : 80 Used extents . . . : 6
Block size . . . . : 27920
1st extent tracks . : 256
Secondary tracks . : 250 Dates
Data set name type : PDS Creation date . . . : 2012/03/08
Referenced date . . : 2012/06/02
Expiration date . . : 2020/12/31

Profile with problem

IKJ56688I CHAR(0) LINE(0) PROMPT INTERCOM NOPAUSE MSGID NOMODE WTPMS
G NORECOVER PREFIX(RS9F) PLANGUAGE(ENU) SLANGUAGE(ENU) VARSTORAGE(LOW)
IKJ56689I DEFAULT LINE/CHARACTER DELETE CHARACTERS IN EFFECT FOR THIS TERMINAL
***

As a matter of fact, I created the "working" PDS taking "problem" PDS as base.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Sat Jun 02, 2012 1:41 pm
Reply with quote

Remove the "MASK" line from tour edit profile.
Back to top
View user's profile Send private message
Vishwa310

New User


Joined: 21 May 2012
Posts: 16
Location: India

PostPosted: Sat Jun 02, 2012 1:52 pm
Reply with quote

prino wrote:
Remove the "MASK" line from tour edit profile.


Rob, I don't quite get you.. icon_neutral.gif
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Sat Jun 02, 2012 1:55 pm
Reply with quote

tour -> your
Back to top
View user's profile Send private message
Vishwa310

New User


Joined: 21 May 2012
Posts: 16
Location: India

PostPosted: Sat Jun 02, 2012 2:31 pm
Reply with quote

Pardon my ignorance but How do I remove "mask" from a profile?
Back to top
View user's profile Send private message
Peter cobolskolan

Active User


Joined: 06 Feb 2012
Posts: 104
Location: Sweden

PostPosted: Sat Jun 02, 2012 2:46 pm
Reply with quote

Just enter the command PROFILE och the command line and press enter
Code:
Command ===> profile                                          Scroll ===> CSR 
****** ***************************** Top of Data ******************************
=PROF> ....COBOL (FIXED - 80)....RECOVERY ON....NUMBER ON COB..................
=PROF> ....CAPS OFF....HEX OFF....NULLS ON STD....TABS OFF.....................
=PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS ON..............
=PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
=PROF> ....HILITE COBOL CURSOR FIND............................................
=MASK> --****** This is the Mask which will be inserted as a new line ----     

If there is a row saying =MASK> , just delete is by enetering a D on the line and press enter.
The MASK is a way of getting a new line with some data in it, but after using it, dont forget to remove it!
Back to top
View user's profile Send private message
Vishwa310

New User


Joined: 21 May 2012
Posts: 16
Location: India

PostPosted: Sat Jun 02, 2012 2:53 pm
Reply with quote

Peter cobolskolan wrote:
Just enter the command PROFILE och the command line and press enter
Code:
Command ===> profile                                          Scroll ===> CSR 
****** ***************************** Top of Data ******************************
=PROF> ....COBOL (FIXED - 80)....RECOVERY ON....NUMBER ON COB..................
=PROF> ....CAPS OFF....HEX OFF....NULLS ON STD....TABS OFF.....................
=PROF> ....AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS ON..............
=PROF> ....PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON................
=PROF> ....HILITE COBOL CURSOR FIND............................................
=MASK> --****** This is the Mask which will be inserted as a new line ----     

If there is a row saying =MASK> , just delete is by enetering a D on the line and press enter.
The MASK is a way of getting a new line with some data in it, but after using it, dont forget to remove it!



Brilliant! That worked!! .. Thanks a bunch!.. and Thanks to Rob too! icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
Search our Forums:

Back to Top