> There's a pretty good implementation of CUT and PASTE on file 95 of CBT.  
> Writes to profile. Don't know if it works on zOS  2.1 ISPF. 

I would advise extreme caution against using a CUT and PASTE utility that 
writes to and from the PROFILE. Unless the person who wrote it REALLY 
understood what they were doing, this could cause huge problems (not least of 
which is profile corruption). 

For one thing, the profile changes depending on which application you're in. So 
if (for example) you try to CUT while in edit and try to PASTE while in SDSF 
there's a good chance it won't work. But even if the programmer allowed for 
that and always forces CUT and PASTE to use the same profile (e.g. ISRPROF), it 
can still cause plenty of problems.

Every profile member has a fixed size and can only hold a certain amount of 
data. By definition, it's only supposed to contain settings that need to be 
stored on a long term basis, such as CAPS ON, RECOVERY ON, NULLS OFF (etc.). 
It's not supposed to be filled with hundreds of data records that might have 
been CUT into it months or maybe even years ago. Even if a profile member is 
completely empty to begin with, it might not be able to hold the amount of data 
a user might try to CUT into it. And even if it does hold it, it could cause 
the profile to become full or almost full. That means the user eventually won't 
have any room left to store variables that REALLY need to be there. 

If anyone is using a utility that CUTS and PASTES to and from the profile I'd 
strongly advise you to stop, or at least investigate how well it was written 
and ensure it's not going to corrupt or fill up your profile.

Dave Salt

SimpList(tm) - try it; you'll get it! 

http://www.mackinney.com/products/program-development/simplist.html  



                                          
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to