¿ªÔÆÌåÓý


Re: EXECIO Invalid operand: FINIS

 

Yes, I got that address from an example I saw somewhere. So I stuck it in to try. Of course that didn't fix my quote problem.

I also spent more time than I want to admit wondering why "EXCIO bla bla bla" wouldn't work. Didn't even notice the misspelling. I probably need to see an eye doctor...along with having my head examined


Re: EXECIO Invalid operand: FINIS

 

Thank you. Yes I was looking at an exec I wrote in 1993 and I had written it on a separate line...'FINIS 'OUT_FILE


Re: EXECIO Invalid operand: FINIS

 

Thanks! I like examples with few lines. I had used the LINEIN recently. I use to write some REXX. But you wouldn't know it by my question.


Re: EXECIO Invalid operand: FINIS

 

Of course...thank you.


Re: EXECIO Invalid operand: FINIS

 

¿ªÔÆÌåÓý

Hi,

According to

DISKR requires at least fn ft

?

¡°EXECIO * DISKR HELLO COBOL A (FINIS¡±

Should work

?

In your case

IN_FILE=¡±HELLO COBOL A¡±

¡°EXECIO * DISKR¡± IN_FILE ¡°(FINIS¡±

Should resolve to the statement above.

?

?

If you call the exec directly from CMS I think you do not need to specify ADDRESS.

Best regards

Mike

?

?

?

From: [email protected] <[email protected]> On Behalf Of Jean-Pierre Cabani¨¦
Sent: Tuesday, August 22, 2023 18:23
To: [email protected]
Subject: Re: [h390-vm] EXECIO Invalid operand: FINIS

?

As far as I remember those marvelous days, yu have to call FINIS by its own to close the file

'EXECIO * DISKR' In_File

'FINIS' In_File

Don't think there was an EXECIO option to close the file after reading. HELP EXECIO may be of some value.

Good luck !

Jean-Pierre

Le 22/08/2023 ¨¤ 14:43, Bill a ¨¦crit?:

Hi,

What am I doing wrong? I haven't done this stuff in almost 30 years.

CMS
e03
Invalid operand: FINIS.
Ready; T=0.01/0.01 11:37:55
type e03 exec

/* REXX */

address COMMAND
IN_FILE="HELLO COBOL A"
?
'EXECIO * DISKR IN_FILE (FINIS'
?
Ready; T=0.01/0.01 11:38:16
q cplevel
SYSTEM 4381-A
VM/370 Community Edition Version? 1 Release? 1.2 07/19/22 13:20:46
IPL at 11:06:22 GMT TUESDAY 08/22/23
PEAK LOAD= 005 USERS
Ready; T=0.01/0.01 11:38:36

Thank you,

Bill

?


Re: EXECIO Invalid operand: FINIS

 

¿ªÔÆÌåÓý

As far as I remember those marvelous days, yu have to call FINIS by its own to close the file

'EXECIO * DISKR' In_File

'FINIS' In_File

Don't think there was an EXECIO option to close the file after reading. HELP EXECIO may be of some value.

Good luck !

Jean-Pierre

Le 22/08/2023 ¨¤ 14:43, Bill a ¨¦crit?:

Hi,

What am I doing wrong? I haven't done this stuff in almost 30 years.

CMS
e03
Invalid operand: FINIS.
Ready; T=0.01/0.01 11:37:55
type e03 exec

/* REXX */

address COMMAND
IN_FILE="HELLO COBOL A"
?
'EXECIO * DISKR IN_FILE (FINIS'
?
Ready; T=0.01/0.01 11:38:16
q cplevel
SYSTEM 4381-A
VM/370 Community Edition Version? 1 Release? 1.2 07/19/22 13:20:46
IPL at 11:06:22 GMT TUESDAY 08/22/23
PEAK LOAD= 005 USERS
Ready; T=0.01/0.01 11:38:36

Thank you,

Bill

?


Re: EXECIO Invalid operand: FINIS

 

Many of the REXX STREAM functions are available on VM/370 CE and are fairly easy to use.

/* test stream functions */
outfile = 'FILETEST TEXT A'
DO i = 1 to 10
?? rc = LINEOUT(outfile, "Line:" i)
?? SAY "RC for LINEOUT()" i "is" rc
END /* do 10 */
EXIT

?


Re: EXECIO Invalid operand: FINIS

 

¿ªÔÆÌåÓý

Don¡¯t have IN_FILE inside the quotes. ?You made it a literal


On Aug 22, 2023, at 9:02 AM, Bill <billb2050@...> wrote:

?

Hi,

What am I doing wrong? I haven't done this stuff in almost 30 years.

CMS
e03
Invalid operand: FINIS.
Ready; T=0.01/0.01 11:37:55
type e03 exec

/* REXX */

address COMMAND
IN_FILE="HELLO COBOL A"
?
'EXECIO * DISKR IN_FILE (FINIS'
?
Ready; T=0.01/0.01 11:38:16
q cplevel
SYSTEM 4381-A
VM/370 Community Edition Version? 1 Release? 1.2 07/19/22 13:20:46
IPL at 11:06:22 GMT TUESDAY 08/22/23
PEAK LOAD= 005 USERS
Ready; T=0.01/0.01 11:38:36

Thank you,

Bill

?


Re: EXECIO Invalid operand: FINIS

 

Use:? 'EXECIO * DISKR' IN_FILE '(FINIS'


On Tue, Aug 22, 2023 at 9:02?AM Bill <billb2050@...> wrote:

Hi,

What am I doing wrong? I haven't done this stuff in almost 30 years.

CMS
e03
Invalid operand: FINIS.
Ready; T=0.01/0.01 11:37:55
type e03 exec

/* REXX */

address COMMAND
IN_FILE="HELLO COBOL A"
?
'EXECIO * DISKR IN_FILE (FINIS'
?
Ready; T=0.01/0.01 11:38:16
q cplevel
SYSTEM 4381-A
VM/370 Community Edition Version? 1 Release? 1.2 07/19/22 13:20:46
IPL at 11:06:22 GMT TUESDAY 08/22/23
PEAK LOAD= 005 USERS
Ready; T=0.01/0.01 11:38:36

Thank you,

Bill

?


EXECIO Invalid operand: FINIS

 

Hi,

What am I doing wrong? I haven't done this stuff in almost 30 years.

CMS
e03
Invalid operand: FINIS.
Ready; T=0.01/0.01 11:37:55
type e03 exec

/* REXX */

address COMMAND
IN_FILE="HELLO COBOL A"
?
'EXECIO * DISKR IN_FILE (FINIS'
?
Ready; T=0.01/0.01 11:38:16
q cplevel
SYSTEM 4381-A
VM/370 Community Edition Version? 1 Release? 1.2 07/19/22 13:20:46
IPL at 11:06:22 GMT TUESDAY 08/22/23
PEAK LOAD= 005 USERS
Ready; T=0.01/0.01 11:38:36

Thank you,

Bill

?


Re: RSCS Link Questions/advice please

 

Dutch,

I'm glad to hear you got your project working, however you did it.

For anyone else following this thread with connection issues:

A friend of mine with much more VM experience than I described how he got this working in his network and I was, mostly, able to recreate his success.? It turns out that if you get the CTCE defined properly and attached in Hercules before either VM is IPLed, when they are IPLed this will work.? His theory is that the something in the IPL process initializes the CTC in a way that allows this to be successful.

As it turns out, I also had a configuration issue in my CTCE set up that seems incompatible with this connection type, even though it works with VTAM.

In my systems, I had the CTCEs defined as follows in hercules.cnf.? While this works fine for VTAM CTC links, this does not work for RSCS NJE links.

VM/SP - 600 CTCE 30802 602=Pi2 30804 ATTNDELAY 200 # link to JS04/602
VM/ESA - 602 CTCE 30804 600=Pi2 30802????? # link to JS02/600

Notes: 600 and 602 are the unit addresses on each VM, 30802 and 30804 are port numbers for the TCPIP connection and Pi2 is the hostname for the Hercules host computer.

My friend's configuration use the following format, which also worked for me when I tested it.

VM/SP - 500 ctce 5000 192.168.1.2 6000
VM/ESA - 600 ctce 6000 192.168.1.2 5000

Notes: 500 and 600 are the unit addresses, 5000 and 6000 are TCPIP port numbers and 192.168.1.2 is the IP address of the Hercules host computer.

If you include the device definitions in your Hercules configuration file, that will guarantee they are in place before the guest VM is IPLed.? In my testing, I brought both Hercules instances up and had the CTCs attached and the connection up between them before I IPLed either guest.? Then I IPLed, brought up RSCS, defined the links and when I started them, everything worked.

Jeff


Re: RSCS Link Questions/advice please

 

Thanks Jeff.? The connectivity issue is solved.? I wasn't wedded to the CTCE for any purpose other than to connect, since I understand that 2703 isn't supported in ESA and I thought that was my only other option.? Now I no longer even need the SP system for the purpose.

Connection thru a TCPNJE link direct from ESA works without problems, so the issue is moot now.
The whole thing has been a huge learning exercise which has been both frustrating and fun, but it's done now, and I understand how all these components interact much more clearly now - which, I guess, is the point, since it's all just a hobby, not leading to anything profitable or work-related.

It is fun, to a point, working/playing with these old systems; specially for me, since I had no practical experience with them in real life (unlike most here).? 99% of my IBM experience was the "midrange" System/3 /34 /36 /38 AS/400.

Dutch

?

?

Dutch

?


Re: RSCS Link Questions/advice please

 

Out of curiosity, I tried setting up a VM/SP guest in VM/ESA and the RSCS NJE link works over a VCTCA, so it does look like the CTCE emulation (or my configuration of it) may be missing something.

On the other hand though Dutch, if running as a guest will work for your project, you now have a workaround for your issue.

On JS04 (VM/ESA):

?send rscs q v 621
RSCS??? : CTCA 0621 COUPLED TO? JS21???? 0600 SUBCHANNEL = 000A
RSCS??? : Ready;
Ready; T=0.01/0.01 04:52:58
?smsg rscs q js21
RSCS??? : 05:01:44 Location JS04(OPERATOR) executing: Q JS21
?Link???????????????????????? Line
?Name???? Status???? Type???? Addr Hold Trace Drain
?JS21???? connect??? NJE????? 0621 no?? none? no
Ready; T=0.01/0.01 05:01:44

On JS21 (VM/SP 4):

q 600
03:53:08 CTCA 600 ATTACH TO RSCS???? 600
R; T=0.01/0.01 03:53:08
smsg rscs q js04
RSCS??? : 04:02:38 DMTCMX005I Location JS21(OPERATOR) executing: Q JS04
?Link???????????????????????? Line
?Name???? Status???? Type???? Addr Hold Trace Drain
?JS04???? connect??? NJE????? 0600 no?? none? no
R; T=0.01/0.01 04:02:38



Jeff


Re: RSCS Link Questions/advice please

 

¿ªÔÆÌåÓý

Folks,

Have you tried different versions of Hercules?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Jeff Snyder
Sent: Sunday, August 6, 2023 1:08 AM
To: [email protected]
Subject: Re: [h390-vm] RSCS Link Questions/advice please

?

Sorry, I misspoke.? I took out and IPLed my SP5 image today and found that I'm using a VTAM CTC link to talk to VM/ESA and RSCS talks through VTAM.? I reconfigured RSCS on each end to use the CTC directly and got the same results you reported.? I'd swear I had this working at one point but, if so, I don't know how and I don't have the configuration information available to get it working anymore.

Sorry for the noise.

Jeff


Re: RSCS Link Questions/advice please

 

You consider running the HPO machine as a guest under VM/ESA?

Alternatively, use a line to Hercules TCP/IP link on the HPO side and straight TCP/IP link on the VM/ESA side.

(I've tried CTCE to CTCE and despite the hard work of Peter and others, it's PITA to get working.)

-ahd-


Re: RSCS Link Questions/advice please

 

Hi problem, thanks Jeff.

?

Yes there's something broken somewhere with that CTC code.? However, TCPNJE is the better way to go.

?

Dutch


Re: RSCS Link Questions/advice please

 

Hi Peter,

?

Actually Dutch is my nickname, not a given name; and I have no relation to the nationality except I admire most aspects of your culture greatly.

?

D


Re: RSCS Link Questions/advice please

 

Sorry, I misspoke.? I took out and IPLed my SP5 image today and found that I'm using a VTAM CTC link to talk to VM/ESA and RSCS talks through VTAM.? I reconfigured RSCS on each end to use the CTC directly and got the same results you reported.? I'd swear I had this working at one point but, if so, I don't know how and I don't have the configuration information available to get it working anymore.

Sorry for the noise.

Jeff


Re: RSCS Link Questions/advice please

 

If you want to try again, I have a VM/ESA to VM/SP5 CTCE connection in my network.? My SP5 is not HPO, but hopefully it's close enough.? We could compare configs and see what might be different.? Your LINKDEFINEs seem a little simplistic from what I recall (mine have PARMs on them that you don't mention).

Jeff


Re: RSCS Link Questions/advice please

 

... with VM/SP items ...