How dataset is auto populates in 3.4 Screen



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Re: How dataset is auto populates in 3.4 Screen

Postby Pedro » Thu Jun 25, 2015 10:21 pm

Prino's earlier comment applies
[quote]And doubtlessly you put it into the correct profile variable in the correct profile?[/quote]
Many products use an application ID to have separate set of variables from each other, in order to avoid collisions in use of variable names.

Start file-aid using ISPF option 7, then use DTEST 3 command to examine profile variables. Look for ZAPPLID. Your exec has to also be invoked in that same applid or your variable will be saved in the wrong place.

note to moderator: whats up with quote tags not working?
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: Re: How dataset is auto populates in 3.4 Screen

 

Re: How dataset is auto populates in 3.4 Screen

Postby mymainframe » Mon Jun 29, 2015 6:14 pm

Hi Pedro,

I checked in my shop and found ZAPPLID is ISR. What ZAPPLID should change to so, that I am able to VPUT in my ISPF profile.

Thanks.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How dataset is auto populates in 3.4 Screen

Postby Pedro » Mon Jun 29, 2015 11:27 pm

Repeating:
Your exec has to also be invoked in that same applid or your variable will be saved in the wrong place.

If Fileaid operates in the ISR applid, then make sure your exec also operates in the ISR applid.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: How dataset is auto populates in 3.4 Screen

Postby prino » Tue Jun 30, 2015 11:19 pm

mymainframe wrote:I checked in my shop and found ZAPPLID is ISR. What ZAPPLID should change to so, that I am able to VPUT in my ISPF profile.

I would be extremely surprised (or, being the cynic I've become, I should probably be extremely unsurprised) if FileAid was set up to use the ISR ZAPPLID at your bodyshop.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: How dataset is auto populates in 3.4 Screen

Postby mymainframe » Mon Jul 27, 2015 8:49 pm

Hi Prino,

ZAPPLID is IXP not ISR.

I am using ISR applid to autopopulate values on file aid screen. Before calling file aid (using CMD(xixmain) newappl(IXP) passlib) I am using VPUT to update file aid pannel variables also moving values to IXPPROF. Here I am getting below error when I execute my REXX.
****************************************
* ISPV006
* Data truncation occurred
* Data for char format variable "IXPPROF" was too long
*
*


Can you please suggest how can I correct this error.

Thanks
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How dataset is auto populates in 3.4 Screen

Postby Pedro » Mon Jul 27, 2015 9:05 pm

I think you need to contact the Fileaid vendor.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: How dataset is auto populates in 3.4 Screen

Postby mymainframe » Mon Jul 27, 2015 9:07 pm

One more, here before giving VPUT for IXPPROF, length was 1127. I am giving VPUT with a length of 262 and I can see that it got updated in IXPPROF variable (I confirmed by checking ISRPROF table using 3.16 utility). not sure why it is getting error out.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How dataset is auto populates in 3.4 Screen

Postby Pedro » Tue Jul 28, 2015 5:35 am

Show us your code.

I would expect the failure later, when Fileaid goes to use the value that you set. I do not expect an error at the time when you save the value.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: How dataset is auto populates in 3.4 Screen

Postby mymainframe » Tue Jul 28, 2015 11:45 am

Yes Pedro, it is getting error when File-AID is using the variable. Below is the code.
IXPPROF = "Variable with a length of 1127 bytes"
"ISPEXEC VPUT (IXPPROF) PROFILE"
"ISPEXEC CMD(XIXMAIN) NEWAPPL(ISR) PASSLIB"


Here I tested the same using "Dialog Test --> 1.Functions --> Invoke command" option, even there I am getting same error. when I select " _ override termination and attempt to continue" then its going to File-AID and working fine.

Thanks.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How dataset is auto populates in 3.4 Screen

Postby Pedro » Tue Jul 28, 2015 6:54 pm

Here I am getting below error when I execute my REXX.

You should strive to explain the situation more accurately in the future.

Rexx is flexible about the length the variable data. Compiled languages have to use VDEFINE prior to the VGET... the VDEFINE specifies the length of the data. Unless you can change the length and recompile the program, I think you have to adjust your data to use the acceptable length?

Who ever heard of a data set name that is so long anyway?
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

PreviousNext

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post