Thanks Mark for the replies, I'll speak to our usual Lansa rep about the licensing.
For the session pass through:
The CL called on the live partition is below, the other programs referenced (UAT002/UAT003) take current user and check for a record on a physical file for that user. If found it returns username/password/system/etc to allow the telnet to complete. This is a general purpose program that I'm hoping is suitable to piggyback off for the purposes of getting the user onto the development partition, once on the development partition it uses LRNGLOGON with a minor amendment to remove the demo environment code from it.
Code: Select all
PGM
DCL VAR(&P#USRPRF) TYPE(*CHAR) LEN(10)
DCL VAR(&P#PASSWRD) TYPE(*CHAR) LEN(10)
DCL VAR(&P#UATSYS) TYPE(*CHAR) LEN(10)
DCL VAR(&P#VRTDSP) TYPE(*CHAR) LEN(10)
DCL VAR(&P#ACTIV) TYPE(*CHAR) LEN(25)
CALL PGM(UAT002) PARM(&P#USRPRF &P#PASSWRD +
&P#UATSYS &P#VRTDSP &P#ACTIV)
IF COND(&P#USRPRF *EQ ' ' *OR &P#UATSYS *EQ ' +
') THEN(DO)
GOTO CMDLBL(NOPROFILE)
ENDDO
IF COND(&P#ACTIV *NE ' ') THEN(DO)
GOTO CMDLBL(NOPROFILE)
ENDDO
TELNET RMTSYS(&P#UATSYS) RMTVRTDSP(&P#VRTDSP) +
RMTUSER(&P#USRPRF) RMTPWD(&P#PASSWRD)
CALL PGM(UAT003)
NOPROFILE:
ENDPGM
First job log with the error reading data queue message:
Code: Select all
MSGID TYPE SEV DATE TIME FROM PGM LIBRARY INST TO PGM LIBRARY INST
CPF1124 Information 00 13/03/17 12:48:11.581610 QWTPIIPP QSYS 04C9 *EXT *N
Message . . . . : Job 018610/LRNGPASS/QPADEV000C started on 13/03/17 at
12:48:11 in subsystem QINTER_HHD in QGPL. Job entered system on 13/03/17 at
12:48:11.
CPF1015 Escape 40 13/03/17 12:48:11.611938 QCLRTVDA QSYS 026F LRNGLOGON MNIS_SOFT 0025
Message . . . . : Data area XXXX_SOFT in *LIBL not found.
Recovery . . . : Either correct the data area name or change the library
name (DTAARA parameter). Then try the request again.
CPF1015 Escape 40 13/03/17 12:48:11.624223 QCLRTVDA QSYS 026F LRNGLOGON MNIS_SOFT 0031
Message . . . . : Data area XXXX_PROJ in *LIBL not found.
Recovery . . . : Either correct the data area name or change the library
name (DTAARA parameter). Then try the request again.
CPC0904 Completion 00 13/03/17 12:48:11.636670 QWCCCRVC QSYS 008E LRNGLOGON MNIS_SOFT 003B
Message . . . . : Data area LONGRANGE created in library QTEMP.
CPF2104 Escape 40 13/03/17 12:48:11.636727 QLICHLBL QSYS 02D7 LRNGLOGON MNIS_SOFT 0044
Message . . . . : Library MNIS_SOFT not removed from the library list.
Cause . . . . . : Library MNIS_SOFT is not in the user portion (type USR) of
the library list and therefore cannot be removed. Recovery . . . :
Display the library list (DSPLIBL command) to determine if the library name
specified is correct or if the specified library is in the system portion
(type SYS) of the library list. If the library is a product library (type
PRD), the library will be removed when the command completes. If the library
is in the current library position (type CUR) of the library list, use the
CHGCURLIB command to remove the library from the current library position of
the library list. If the library name is not correct, change the library
name and try the command again.
CPC2196 Completion 00 13/03/17 12:48:11.636797 QLICUSRL QSYS 0114 LRNGLOGON MNIS_SOFT 004E
Message . . . . : Library MNIS_SOFT added to library list.
Cause . . . . . : If the ADDLIBLE command was used, MNIS_SOFT was added to
the user library list. If the CHGSYSLIBL command was used, MNIS_SOFT was
added to the system portion of the library list.
CPF2104 Escape 40 13/03/17 12:48:11.636831 QLICHLBL QSYS 02D7 LRNGLOGON MNIS_SOFT 0058
Message . . . . : Library MNIS_PROJ not removed from the library list.
Cause . . . . . : Library MNIS_PROJ is not in the user portion (type USR) of
the library list and therefore cannot be removed. Recovery . . . :
Display the library list (DSPLIBL command) to determine if the library name
specified is correct or if the specified library is in the system portion
(type SYS) of the library list. If the library is a product library (type
PRD), the library will be removed when the command completes. If the library
is in the current library position (type CUR) of the library list, use the
CHGCURLIB command to remove the library from the current library position of
the library list. If the library name is not correct, change the library
name and try the command again.
CPC2196 Completion 00 13/03/17 12:48:11.636889 QLICUSRL QSYS 0114 LRNGLOGON MNIS_SOFT 0062
Message . . . . : Library MNIS_PROJ added to library list.
Cause . . . . . : If the ADDLIBLE command was used, MNIS_PROJ was added to
the user library list. If the CHGSYSLIBL command was used, MNIS_PROJ was
added to the system portion of the library list.
CPF9897 Escape 40 13/03/17 12:48:11.816545 LRNGSRV MNIS_SOFT *STMT LRNGDRIVER MNIS_SOFT *STMT
From module . . . . . . . . : LRNG984
From procedure . . . . . . : LRNG_RaiseException2
Statement . . . . . . . . . : 12
To module . . . . . . . . . : LRNGDRIVER
To procedure . . . . . . . : LRNGDRIVER
Statement . . . . . . . . . : 1320
Message . . . . : Error received when READING from data queue QPADEV000C in
library LRNG_TEMP . Check queue existence and access rights.
Cause . . . . . : No additional online help information is available.
CPF9897 Escape 40 13/03/17 12:48:11.852296 LRNGSRV MNIS_SOFT *STMT LRNGERROR MNIS_SOFT *STMT
From module . . . . . . . . : LRNG984
From procedure . . . . . . : LRNG_RaiseException2
Statement . . . . . . . . . : 12
To module . . . . . . . . . : LRNGERROR
To procedure . . . . . . . : LRNGERROR
Statement . . . . . . . . . : 11100
Message . . . . : Error received when CLEARING data queue QPADEV000C in
library LRNG_TEMP . Check queue existence and access rights.
Cause . . . . . : No additional online help information is available.
CPC2191 Completion 00 13/03/17 12:48:11.877813 QLIDLOBJ QSYS 0686 QLICLLIB QSYS 0697
Message . . . . : Object LONGRANGE in QTEMP type *DTAARA deleted.
CPF1164 Completion 00 13/03/17 12:48:11.877903 QWTMCEOJ QSYS 0162 *EXT *N
Message . . . . : Job 018610/LRNGPASS/QPADEV000C ended on 13/03/17 at
12:48:11; .011 seconds used; end code 0 .
At this point I checked and the data queue did not exist which would explain the read/clear errors, this is where I concluded a permissions issue may be blocking creation and copied one from their live partition which gave the below joblog.
Code: Select all
MSGID TYPE SEV DATE TIME FROM PGM LIBRARY INST TO PGM LIBRARY INST
CPF1124 Information 00 13/03/17 13:11:18.191879 QWTPIIPP QSYS 04C9 *EXT *N
Message . . . . : Job 018647/LRNGPASS/QPADEV000C started on 13/03/17 at
13:11:18 in subsystem QINTER_HHD in QGPL. Job entered system on 13/03/17 at
13:11:18.
CPF1015 Escape 40 13/03/17 13:11:18.221536 QCLRTVDA QSYS 026F LRNGLOGON MNIS_SOFT 0025
Message . . . . : Data area XXXX_SOFT in *LIBL not found.
Recovery . . . : Either correct the data area name or change the library
name (DTAARA parameter). Then try the request again.
CPF1015 Escape 40 13/03/17 13:11:18.222184 QCLRTVDA QSYS 026F LRNGLOGON MNIS_SOFT 0031
Message . . . . : Data area XXXX_PROJ in *LIBL not found.
Recovery . . . : Either correct the data area name or change the library
name (DTAARA parameter). Then try the request again.
CPC0904 Completion 00 13/03/17 13:11:18.241870 QWCCCRVC QSYS 008E LRNGLOGON MNIS_SOFT 003B
Message . . . . : Data area LONGRANGE created in library QTEMP.
CPF2104 Escape 40 13/03/17 13:11:18.241921 QLICHLBL QSYS 02D7 LRNGLOGON MNIS_SOFT 0044
Message . . . . : Library MNIS_SOFT not removed from the library list.
Cause . . . . . : Library MNIS_SOFT is not in the user portion (type USR) of
the library list and therefore cannot be removed. Recovery . . . :
Display the library list (DSPLIBL command) to determine if the library name
specified is correct or if the specified library is in the system portion
(type SYS) of the library list. If the library is a product library (type
PRD), the library will be removed when the command completes. If the library
is in the current library position (type CUR) of the library list, use the
CHGCURLIB command to remove the library from the current library position of
the library list. If the library name is not correct, change the library
name and try the command again.
CPC2196 Completion 00 13/03/17 13:11:18.241990 QLICUSRL QSYS 0114 LRNGLOGON MNIS_SOFT 004E
Message . . . . : Library MNIS_SOFT added to library list.
Cause . . . . . : If the ADDLIBLE command was used, MNIS_SOFT was added to
the user library list. If the CHGSYSLIBL command was used, MNIS_SOFT was
added to the system portion of the library list.
CPF2104 Escape 40 13/03/17 13:11:18.242023 QLICHLBL QSYS 02D7 LRNGLOGON MNIS_SOFT 0058
Message . . . . : Library MNIS_PROJ not removed from the library list.
Cause . . . . . : Library MNIS_PROJ is not in the user portion (type USR) of
the library list and therefore cannot be removed. Recovery . . . :
Display the library list (DSPLIBL command) to determine if the library name
specified is correct or if the specified library is in the system portion
(type SYS) of the library list. If the library is a product library (type
PRD), the library will be removed when the command completes. If the library
is in the current library position (type CUR) of the library list, use the
CHGCURLIB command to remove the library from the current library position of
the library list. If the library name is not correct, change the library
name and try the command again.
CPC2196 Completion 00 13/03/17 13:11:18.242081 QLICUSRL QSYS 0114 LRNGLOGON MNIS_SOFT 0062
Message . . . . : Library MNIS_PROJ added to library list.
Cause . . . . . : If the ADDLIBLE command was used, MNIS_PROJ was added to
the user library list. If the CHGSYSLIBL command was used, MNIS_PROJ was
added to the system portion of the library list.
CPF9897 Escape 40 13/03/17 13:11:18.352929 LRNGSRV MNIS_SOFT *STMT LRNGDRIVER MNIS_SOFT *STMT
From module . . . . . . . . : LRNG984
From procedure . . . . . . : LRNG_RaiseException2
Statement . . . . . . . . . : 12
MSGID TYPE SEV DATE TIME FROM PGM LIBRARY INST TO PGM LIBRARY INST
To module . . . . . . . . . : LRNGDRIVER
To procedure . . . . . . . : LRNGDRIVER
Statement . . . . . . . . . : 1320
Message . . . . : No CIK value or property was supplied by the client
application.
Cause . . . . . : No additional online help information is available.
CPF9897 Escape 40 13/03/17 13:11:18.458591 LRNGSRV MNIS_SOFT *STMT LRNGERROR MNIS_SOFT *STMT
From module . . . . . . . . : LRNG984
From procedure . . . . . . : LRNG_RaiseException2
Statement . . . . . . . . . : 12
To module . . . . . . . . . : LRNGERROR
To procedure . . . . . . . : LRNGERROR
Statement . . . . . . . . . : 11300
Message . . . . : No CIK value or property was supplied by the client
application.
Cause . . . . . : No additional online help information is available.
CPC2191 Completion 00 13/03/17 13:11:18.472820 QLIDLOBJ QSYS 0686 QLICLLIB QSYS 0697
Message . . . . : Object LONGRANGE in QTEMP type *DTAARA deleted.
CPF1164 Completion 00 13/03/17 13:11:18.472925 QWTMCEOJ QSYS 0162 *EXT *N
Message . . . . : Job 018647/LRNGPASS/QPADEV000C ended on 13/03/17 at
13:11:18; .012 seconds used; end code 0 .
I assume for the trace we're talking about the client log? Attached as longrange-log from the windows 10 desktop I've been testing this on (I also have a couple of android devices available so could provide log from there as well if it might help?)
I'll speak to our hardware team about how the development partition is accessible, my understanding is that it is currently only visible from the live partition and so this is why I'm looking at passthrough as opposed to direct connection.
Hopefully some combination of the above helps.