|
Post by mueh on Apr 16, 2019 15:16:29 GMT -5
Hi George ! A nasty change for me in v10.2 is the code change in FUNCTION InitSeeUnique fWnd = sFindWindow("SPFLite(v") ' Go see if we're running somewhere from fWnd = sFindWindow("SPFLite(v" + LEFT$(ENV.PgmVers, 4)) ' Go see if we're running somewhere Since i use different SPFLite.EXE with Unique Pgmvers like 10.1.9014 MVS3.9014 TK4-.9014 to be able to find the Correct Instance of SPFLite by a PGM ( Macro in another SPFLite) . This makes it impossible to start new Tab in a specific Instance of SPFLite by PGM . Can you change it back in next update to fWnd = sFindWindow("SPFLite(v" + LEFT$(ENV.PgmVers, 5)) ' Go see if we're running somewhere Thanks for all the other Updates
|
|
|
Post by mueh on Apr 17, 2019 1:46:00 GMT -5
Hi Robert! Short Explanation . I'm Browsing Hercules DASD's DSN MEMBER . Each instance has it's own SPFLite.exe with the Patched(with HxD) Version own INI and TMP variable (to avoid UNDO Problems). Instance 10C1 starts with DASD list . Executing PFK(Macro MUSUB) with List entry having label :DASD it invokes DASDLS to get List of DSN's in 10C1. Executing same PFK on DSN executes DASDCAT to get MEMBER list . Each Member list is Grouped into the Instance of the Operating System like MVS3 TK4- . From the Member list you can then Browse the Member . Separating different OS to Window makes it easy to compare VIEW and Access . ( Like Directory ) Another Instance of SPFLite could have a Complete other Usage . f.e FF and Browsing of SPFLite Source with different Font and Cursor Ruler . Hope this gives some insight why this is important for me . ( and i wan't to be at latest Lvl ) Thanks
|
|
|
Post by mueh on Apr 17, 2019 9:30:39 GMT -5
Hi Robert! I'm in Europe(Austria) . I'm not Accessing PDS member . I just slightly modified DASDCAT to give all the Additional Info which are in PDS Directory and for RECFM U Data DASDCAT is modified to read IDR record to get last LKED Date and Time . Modified Dasdcat can also Dump complete Data set and Show it with CCHHRKDL (like DITTO did) . The macro is just executing DASDCAT and SPFLite to edit Output of DASDLS and DASDCAT . I asked George maybe 2 years ago for a Startup Parm to override first 4 Bytes of the 2 occurences of PgmVers but he didn't like the Idea at that time so i Patched the EXE . But with above Change Start of SÜFLite 10.2 Displays even an 8.5 SPFLite window if it's active . ( only 1 Spflite running is required in OPT ). For me it will be fine if it works like before since i can't order POWERBASIC up to now . Thanks for your Response .
|
|
|
Post by George on Apr 17, 2019 11:06:59 GMT -5
mueh: If we added a new command line option -EYEBALL xxxxxx where the xxxxxx string would be appended to the SFFLite(v string would that do it?
Also would you want the InitSeeUnique to match on the newly modified string, or just on the original SPFLite(v string?
Sorry for this impact, we'd no idea it would impact you like this.
George
|
|
|
Post by George on Apr 17, 2019 11:52:54 GMT -5
MUEH: The reason you can't get to the PowerBasic site to order anything is the new EU security requirements for doing business over there. I've read the pertinent sections and I can well see why PowerBasic has simply shut down access, the requirement for any small business are simply impossible to support.
You can either use a VPN to bypass this craziness, or deal directly with PowerBasic via email as this European forum member suggests.
George
AFAIK as of now, European customers are advised to mail support@powerbasic.com and handle their purchases that way.
"Guude!" aus Frankfurt
---------------------------------- Here;s the main stumbling block, but there are others
Data protection officer
See also: European Commission Data Protection Officer
If processing is carried out by a public authority (except for courts or independent judicial authorities when acting in their judicial capacity), or if processing operations involve regular and systematic monitoring of data subjects on a large scale, or if processing on a large scale of special categories of data and personal data relating to criminal convictions and offences (Articles 9 and Article 10,[26]) a data protection officer (DPO)—a person with expert knowledge of data protection law and practices—must be designated to assist the controller or processor in monitoring their internal compliance with the Regulation.
A designated DPO can be a current member of staff of a controller or processor, or the role can be outsourced to an external person or agency through a service contract. In any case, the processing body must make sure that there is no conflict of interest in other roles or interests that a DPO may hold. The contact details for the DPO must be published by the processing organisation (for example, in a privacy notice) and registered with the supervisory authority.
The DPO is similar to a compliance officer and is also expected to be proficient at managing IT processes, data security (including dealing with cyberattacks) and other critical business continuity issues around the holding and processing of personal and sensitive data. The skill set required stretches beyond understanding legal compliance with data protection laws and regulations, the DPO must maintain a living data inventory of all data collected and stored on behalf of the organization[27]. More details on the function and the role of data protection officer were given on 13 December 2016 (revised 5 April 2017) in a guideline document.[28]
Organisations based outside the EU must also appoint an EU-based person as a representative and point of contact for their GDPR obligations (Article 27). This is a distinct role from a DPO, although there is overlap in responsibilities that suggest that this role can also be held by the designated DPO.[29]
|
|
|
Post by George on Apr 17, 2019 13:31:33 GMT -5
Robert: Sure, pick a word that doesn't start with one of the existing letters, I'd like to keep it so that only -x is needed to be unique. Currently in use are:
-C -W -N -B -V -I -K
George
|
|
|
Post by George on Apr 17, 2019 14:40:14 GMT -5
OK -TITLE it is.
George
|
|
|
Post by mueh on Apr 17, 2019 14:41:26 GMT -5
Hi George! It would suggest to modify Statement to fWnd = sFindWindow("SPFLite(v" + LEFT$(ENV.PgmVers, PVerFL)) and a Cmd line Parameter -PVerFL 5 with Default of 0 if not specified . I Need no String because it should check only if a Window with the specified nr of Bytes of PgmVers already exists . Of Course you can use any other abreviation of ProgramVersionFindLength . Thanks George for Update About Powerbasic and how to order .
|
|
|
Post by mueh on Apr 17, 2019 15:16:35 GMT -5
Hi George ! Ignore Previous Suggestion . I find f.e -TITLE TK4- if it Ends up in SPFLite(vTK4- 10.2.19103 in title line on start of FM or Edit the best solution . fWnd = sFindWindow("SPFLite(v" + TITLE) will then check if SPFLite window with that Title already exists . This would make cloning of exe and Patching of PgmVers obsolete . Many Thanks to George and Robert .
|
|
|
Post by mueh on Apr 18, 2019 0:33:04 GMT -5
P.S following Code and other Locations where PgmVers is used might need review THREAD FUNCTION InitASynchStuffThread IF ISFALSE sFindWindow("SPFLite(v" + LEFT$(ENV.PgmVers, 4)) THEN ' If we're not running somewhere else Thanks
|
|
|
Post by George on Apr 18, 2019 10:53:42 GMT -5
MUEH: What I have right now is -TITLE ABCDE
The Windows title would be either:
If -TITLE were omitted SPFLite(v10.2.19103)
If -TITLE ABCDE it would be SPFLite(ABCDE)
Would that work for you, or do you always want the real version to show?
George
|
|
|
Post by mueh on Apr 18, 2019 14:06:07 GMT -5
Hi George ! if Uper and lower case is allowed so i could specify f.e -TITLE vABCDEF it is okay for me . I will not have to Change very much . ( Since i have logic to Poll for SPFLite getting active which has (vABCDEF check) . Thanks
|
|
|
Post by George on Apr 18, 2019 15:12:31 GMT -5
MUEH: From my testing, Upper/Lower is passed from the command line, so I think we're all fine here. I'll leave things as -TITLE xxxxx and the Window title will be SPFLite(v10.2.19103) or SPFLite(xxxxx). I think that will satisfy what we want.
George
P.S. Robert: If you feel the fixes for the crash problems we've been having with resize and clipboard are corrected (at least mainly) I will work to get out a corrected 10.2 release.
G.
|
|
|
Post by George on Apr 18, 2019 15:50:14 GMT -5
Robert: Sounds good, I'm glad we finally managed to track this down. We knew Clipboard was somehow involved, but never pinned it down. Same with re-size, until I got a repeatable scenario that triggered a crash, it was just pure frustration. I'm glad they're (hopefully) in the past.
I'll start to package a new release. With these significant fixes, it needs to get out.
George
|
|
|
Post by mueh on Apr 20, 2019 8:25:35 GMT -5
Hi George! Great Job . It works now perfect with Title and also with Patched PgmVers 10C2.19107 since without Title you do sFindWindow with PgmVers . Many MANY MANY Thanks to George and Robert .
|
|