Edit Copy anomaly ?

47 views
Skip to first unread message

lbd...@gmail.com

unread,
Apr 4, 2024, 11:51:36 AM4/4/24
to ISPF-List
I was using ISPF Edit on a PDS member where I'm storing some of my shell
scripts to easily share and what I do is open the member (empty) and do a
Copy from my home directory where the shell script resides.

It arrives in an unreadable format - what I can only surmise is ASCII text.

How can I get it to copy the text into the member in ebcdic?


Lionel B. Dyck <><
Github: https://github.com/lbdyck
System Z Enthusiasts Discord: https://discord.gg/sze
“Worry more about your character than your reputation. Character is what you
are, reputation merely what others think you are.”   - - - John Wooden


Paul Gilmartin

unread,
Apr 4, 2024, 12:09:05 PM4/4/24
to ispf-...@nd.edu
On 4/4/24 09:51:29, lbd...@gmail.com wrote:
> I was using ISPF Edit on a PDS member where I'm storing some of my shell
> scripts to easily share and what I do is open the member (empty) and do a
> Copy from my home directory where the shell script resides.
>
> It arrives in an unreadable format - what I can only surmise is ASCII text.
>
> How can I get it to copy the text into the member in ebcdic?
> .
Ia the member in your home directory tagged with a CCSID?
Which? 819? 1208? Other?

If you Edit it from 3.17, is it legible?
Can yo7 specify ASCII?

Can you then Save it to a PDS member as EBCDIC?

Otherwise, you might need such as:
iconv -f IBM-819 -t IBM-1047 $HOME/script |
/bin/cp /dev/fd/0 "//'PFS(MEMBER)'"

--
gil

lbd...@gmail.com

unread,
Apr 4, 2024, 12:15:28 PM4/4/24
to ispf-...@nd.edu
Tagged as ISO-8859-1.

Using 3.17/udlist I can edit with no problem.
- using Create while in Edit this way still create an ascii member
- specifying ascii or utf-8 on the create results in an unusable member

Oget does not work either.


Lionel B. Dyck <><
Github: https://github.com/lbdyck
System Z Enthusiasts Discord: https://discord.gg/sze

“Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden

--
You received this message because you are subscribed to the Google Groups "ISPF discussion list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ispf-l-list...@nd.edu.
To view this discussion on the web visit https://groups.google.com/a/nd.edu/d/msgid/ispf-l-list/578fe810-6283-49fe-949b-f3f164fd0d62%40AIM.com.

Farley, Peter

unread,
Apr 4, 2024, 12:17:38 PM4/4/24
to ispf-...@nd.edu
  1. Edit the file in the home directory using the 3.17 shell file browse functions.  Use the “/” character to start the edit and select #2 to edit or #5 to view in the pop-up menu.
  2. Enter “C9999” in the sequence field on the left of the first line and “CUT” on the command line
  3. Quit the edit/view of the shell script with PF3
  4. Open your empty PDS member
  5. Type “PASTE” on the command line

 

HTH

 

Peter

-- 
This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.

Paul Gilmartin

unread,
Apr 4, 2024, 12:20:23 PM4/4/24
to ispf-...@nd.edu
On 4/4/24 09:51:29, lbd...@gmail.com wrote:
> I was using ISPF Edit on a PDS member where I'm storing some of my shell
> scripts to easily share ...
> .
Are you willing to do:
chmod a+x $HOME
chmod a+rx $HOME/script
?
If so, then it should be "easily shared"
without copy to PDS.

--
gil

lbd...@gmail.com

unread,
Apr 4, 2024, 12:24:28 PM4/4/24
to ispf-...@nd.edu

Perfection – thank you

 

Convoluted but it worked

 

 

Lionel B. Dyck <><

Github: https://github.com/lbdyck

System Z Enthusiasts Discord: https://discord.gg/sze

 

“Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.”   - - - John Wooden

--

You received this message because you are subscribed to the Google Groups "ISPF discussion list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ispf-l-list...@nd.edu.

image001.png

Paul Gilmartin

unread,
Apr 4, 2024, 12:42:33 PM4/4/24
to ispf-...@nd.edu
On 4/4/24 09:51:29, lbd...@gmail.com wrote:
> I was using ISPF Edit on a PDS member where I'm storing some of my shell
> scripts to easily share and what I do is open the member (empty) and do a
> Copy from my home directory where the shell script resides.
>
> It arrives in an unreadable format - what I can only surmise is ASCII text.
> .
Does Copy not honor the CCSID tag of the file Copied from?

> How can I get it to copy the text into the member in ebcdic?
> .
Surely this merits an RFE ("Idea").

I hate EBCDIC!

--
gil

lbd...@gmail.com

unread,
Apr 4, 2024, 12:49:56 PM4/4/24
to ispf-...@nd.edu

Found another way to do it

 

From my home directory via the shell entered: cp script /dsfs/txt/hlq.pds/script

 

And then checked and it copied just fine – kudos to the dsfs team.

 

Lionel B. Dyck <><

Github: https://github.com/lbdyck

System Z Enthusiasts Discord: https://discord.gg/sze

 

“Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.”   - - - John Wooden

 

From: 'Farley, Peter' via ISPF discussion list <ispf-...@nd.edu>

Sent: Thursday, April 4, 2024 11:18 AM
To: ispf-...@nd.edu

--

image001.png

Paul Gilmartin

unread,
Apr 4, 2024, 11:10:41 PM4/4/24
to ispf-...@nd.edu, IBM-...@listserv.ua.edu
(I'll try to cross-post this.)
On 4/4/24 10:49:48, lbd...@gmail.com wrote:

> Found another way to do it
>
> From my home directory via the shell entered: */cp script /dsfs/txt/hlq.pds/script/*
>
> And then checked and it copied just fine – kudos to the */dsfs/* team.
> .
A pleasant surprise.

Is this behavior clearly documented in the DSFS User's Guide?

--
gil
Reply all
Reply to author
Forward
0 new messages