Stopping upper case in ISPF.
Moderator: mickeydusaor
-
- Registered Member
- Posts: 21
- Joined: Thu Jul 11, 2013 6:28 pm
Stopping upper case in ISPF.
Hi,
When I edit and save a member or data-set in the ISPF editor then the editor makes all signs in upper case. At times it is not good. How can I change this?
Regards,
When I edit and save a member or data-set in the ISPF editor then the editor makes all signs in upper case. At times it is not good. How can I change this?
Regards,
- Robert Sample
- Global Moderator
- Posts: 1891
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Stopping upper case in ISPF.
What do you mean by "signs"? CAPS OFF is the primary command to allow upper and lower case; however, this typically only affects alphabetic characters.
-
- Registered Member
- Posts: 21
- Joined: Thu Jul 11, 2013 6:28 pm
Re: Stopping upper case in ISPF.
I'm sorry I meant alphabets only.
I've used CAPS OFF but whenever I open the member again after a fresh log-in to the system, it comes back to the CAPS ON?
I've used CAPS OFF but whenever I open the member again after a fresh log-in to the system, it comes back to the CAPS ON?
-
- Global Moderator
- Posts: 588
- Joined: Wed Nov 20, 2013 11:53 am
- Location: Mars
- Robert Sample
- Global Moderator
- Posts: 1891
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Stopping upper case in ISPF.
You need to find the ISPF bookshelf and read up on profiles. Also, if a data set has no lower-case characters when ISPF edit opens the data set, there is an implicit CAPS ON done if CAPS OFF is set; the opposite is also true (CAPS OFF will be done if there are lower case characters).
-
- Registered Member
- Posts: 21
- Joined: Thu Jul 11, 2013 6:28 pm
Re: Stopping upper case in ISPF.
So what should I do to keep it all CAPS?Robert Sample wrote:You need to find the ISPF bookshelf and read up on profiles. Also, if a data set has no lower-case characters when ISPF edit opens the data set, there is an implicit CAPS ON done if CAPS OFF is set; the opposite is also true (CAPS OFF will be done if there are lower case characters).
- Robert Sample
- Global Moderator
- Posts: 1891
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Stopping upper case in ISPF.
From the ISPF Edit and Edit Macros manual in the ISPF bookshelf:
Note that caps are explicitly set to match the data -- even if you lock the profile -- so basically, what you want to do CANNOT be done.1.2.1.4 Locking an edit profile
Once you have an edit profile exactly the way you want it, you can lock it. To do this, type PROFILE LOCK and press Enter. The edit profile is saved with all the current modes, options, and temporary lines, and it is marked so that the saved copy of the edit profile is not changed. Usually, each time you begin an editing session the edit profile you start with is exactly the way you locked it. The exceptions are caps, number, stats, and pack, which are made to match the data and are noted with messages. You can change a mode during an editing session, but if the edit profile is locked, the change affects only the current session; it does not affect any later sessions.
- prino
- Registered Member
- Posts: 68
- Joined: Sun Jun 01, 2014 4:15 am
- Location: Vilnius, Lithuania
- Contact:
Re: Stopping upper case in ISPF.
Oh yes, it can be done! Using an initial macro you do as you please, including such follies as setting a JCL profile for COBOL.Robert Sample wrote:From the ISPF Edit and Edit Macros manual in the ISPF bookshelf:Note that caps are explicitly set to match the data -- even if you lock the profile -- so basically, what you want to do CANNOT be done.1.2.1.4 Locking an edit profile
Once you have an edit profile exactly the way you want it, you can lock it. To do this, type PROFILE LOCK and press Enter. The edit profile is saved with all the current modes, options, and temporary lines, and it is marked so that the saved copy of the edit profile is not changed. Usually, each time you begin an editing session the edit profile you start with is exactly the way you locked it. The exceptions are caps, number, stats, and pack, which are made to match the data and are noted with messages. You can change a mode during an editing session, but if the edit profile is locked, the change affects only the current session; it does not affect any later sessions.
-
- Registered Member
- Posts: 21
- Joined: Thu Jul 11, 2013 6:28 pm
-
- Registered Member
- Posts: 21
- Joined: Thu Jul 11, 2013 6:28 pm
Re: Stopping upper case in ISPF.
I did not understand that prino was saying that. I thought there is some proper way of executing some macro he is telling about. I did not know it's about screwing things.nicc wrote:Why do you want an example of how to screw things up?
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute