![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I currently am running a PROC menu program that calls a BASIC program containing a PROCREAD command. This can get confusing... if I run the initial PROC menu program then run the basic program, the PROCREAD is successful and reads in the input buffer which is good. Although, if I run the initial PROC menu program, call another program, go back to the initial PROC menu, then call the BASIC program containing the PROCREAD command, the PROCREAD fails. In the jbase manual under PROCREAD, it says, "If the program was not initiated by a jCL program then the PROCREAD will fail and any statements associated with an ELSE clause will be executed". QUESTION : How do I re-initialize a program? aka - How do I solve this program? Thanks, Steve |
#3
| |||
| |||
|
|
Looks like a bug. First blush workaround: After you come back from that first program, do a transfer to another proc and run the second program from there. I'd contact jbase to see if this is a real bug. ED "Steve" <sgalo (AT) cookvascular (DOT) com> wrote in message news:1128099315.278933.92480 (AT) g49g2000cwa (DOT) googlegroups.com... I currently am running a PROC menu program that calls a BASIC program containing a PROCREAD command. This can get confusing... if I run the initial PROC menu program then run the basic program, the PROCREAD is successful and reads in the input buffer which is good. Although, if I run the initial PROC menu program, call another program, go back to the initial PROC menu, then call the BASIC program containing the PROCREAD command, the PROCREAD fails. In the jbase manual under PROCREAD, it says, "If the program was not initiated by a jCL program then the PROCREAD will fail and any statements associated with an ELSE clause will be executed". QUESTION : How do I re-initialize a program? aka - How do I solve this program? Thanks, Steve |
#4
| |||
| |||
|
|
Thanks, I just send an e-mail to the people at jbase. Ed Sheehan wrote: Looks like a bug. First blush workaround: After you come back from that first program, do a transfer to another proc and run the second program from there. I'd contact jbase to see if this is a real bug. ED "Steve" <sgalo (AT) cookvascular (DOT) com> wrote in message news:1128099315.278933.92480 (AT) g49g2000cwa (DOT) googlegroups.com... I currently am running a PROC menu program that calls a BASIC program containing a PROCREAD command. This can get confusing... if I run the initial PROC menu program then run the basic program, the PROCREAD is successful and reads in the input buffer which is good. Although, if I run the initial PROC menu program, call another program, go back to the initial PROC menu, then call the BASIC program containing the PROCREAD command, the PROCREAD fails. In the jbase manual under PROCREAD, it says, "If the program was not initiated by a jCL program then the PROCREAD will fail and any statements associated with an ELSE clause will be executed". QUESTION : How do I re-initialize a program? aka - How do I solve this program? Thanks, Steve |
![]() |
| Thread Tools | |
| Display Modes | |
| |