Client Access V5R2 and AS/400

pts.
Tags:
AS/400
Development
Third-party services
VBScript
Vendor support
Visual Basic
A batch pgm written in VB is reading a data queue file that exists on AS/400. The read is coded so that it waits for data to be entered in the data queue (-1). When the batch pgm is waiting for data to be entered into the data queue the user is not able to start logon secession to the AS/400. If data is read in the VB program, the logon secession to the AS/400 is displayed

Answer Wiki

Thanks. We'll let you know when a new response is added.

When the user tires to log on, is an error shown. If so what is it? If not, then what does the program have to do with the user profile, is the initial program possible the batch program? Also, is it just one user that can not sign on, or all users. If one, what is unique about that user, what relationship to this batch program?

Discuss This Question: 11  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Bobkberg
    Ok I'm going out on a limb here - since AS/400's are not my area of expertise. Can we assume that you mean that the VB script is waiting for data to be written on the same machine that the user is not able to start the logon session from? Or do you mean that the VB script is waiting for data, but has logged in to the AS/400 with the same account data (name, password) that the user is trying from another machine? In the second case, I'd check to see if the AS/400 allows for concurrent logins from the same user name (I'm clueless here). In the first case, I'd wonder if it's a case of an uncompleted transaction hanging. You don't specify how the failure occurs. Does the user logon simply hang? Is the attempt rejected? Does the logon process refuse to run? Have you done any sniffer looking to see if there's any network traffic related to the effort? Sorry to not be of much help - other than trying to point out that there's a lot of information that you have not supplied. Bob
    1,070 pointsBadges:
    report
  • Cz80pj
    Sorry, for the lack of information, but I am new to the group and my last question is still sitting out there. I thought I would simplify the question in hoping to get a response. The problem that I am having is that I am using a newer version of Client Access V5R2. It seems to stack logon requests if there is a program running on the Client?s PC where it is reading a data queue that is coded to wait forever for data. The older version of Client Access works with no problems. This is what I have notice going on with Client Access newer version. I have a batch VB program running on the Client's PC. The data queue is on the AS/400 and connected using ODBC. The read in the VB program is coded, so that it will wait forever until data is inserted in the data queue. At this time I double click on the Icon that has been configured to sign me into an AS/400 secession?nothing happens. I did notice in my Task Manager that a PCSM.exe started, but I do not get the login screen. In addition, I can have multiple secession of AS/400 going on, on one PC at the same time. When you double click on the AS/400 Icon to log into the AS/400, Client Access is firing off something to check for installed components (cwbAD_IsComponentInstalled). I notice this when performing a detail trace. I did not notice this happening in the older version of Client Access. When the batch program is running I do not see any checking for installed components being allowed to fire off. As soon as I cancel the batch program I will see my login screens display (1-n times clicking on the Icon). How can I stop Client Access from checking for installed components.
    0 pointsBadges:
    report
  • Melenie
    Hi, I was wondering what version of the client you are running? Client Access Express 4.5? What OS is it running on? Windows 98, XP? You may want to set up your emulation via IP address to the AS400 enstead of DNS. Also, check the security for your users on the AS400 to make sure they can (if you want them to) sign on to more than one device. I hope this helps.
    0 pointsBadges:
    report
  • Cz80pj
    I am using IBM iSeries Navigator Version 5 Release 2 (V5R2). The PC that I am currently testing with is XP. The emulation uses IP address and not DSN. The AS/400 allows multiple logons for a single user. iSeries Access for Windows Properties Path PC5250 emulator files iSeries Access installation directory Services When to check is set to Never.
    0 pointsBadges:
    report
  • Kholder
    Client Access will check for updates until you change the "iSeries(Client) for Windows Properties". C:Documents and SettingsAll UsersStart MenuProgramsIBM iSeries Access for Windows Service tab, When to check: Change it to never if you do not want your users to update their PCs.
    0 pointsBadges:
    report
  • Cz80pj
    When the batch job is running I have gone to the command line was able to ping the address. Four replies TTL = 64. The PC that I am testing with, and I have admin rights. Following is a entry point trace: 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=2B Type=API Exit cwbDQ_GetQueueAttr Exit rc=0 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=0D Type=API Entry cwbDQ_GetOrder Entry 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=0D Type=API Exit cwbDQ_GetOrder Exit rc=0 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=13 Type=API Entry cwbDQ_GetMaxRecLen Entry 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=13 Type=API Exit cwbDQ_GetMaxRecLen Exit rc=0 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=05 Type=API Entry cwbDQ_DeleteAttr Entry 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=05 Type=API Exit cwbDQ_DeleteAttr Exit rc=0 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=17 Type=API Entry cwbDQ_CreateData Entry 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=17 Type=API Exit cwbDQ_CreateData Exit rc=3 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=31 Type=API Entry cwbDQ_SetDataAddr Entry 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=31 Type=API Exit cwbDQ_SetDataAddr Exit rc=0 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=1A Type=API Entry cwbDQ_SetSearchOrder Entry 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=1A Type=API Exit cwbDQ_SetSearchOrder Exit rc=0 10:09:13.63 AM Data Queues P=D94 T=E78 Entry=1E Type=API Entry cwbDQ_SetKey Entry 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=1E Type=API Exit cwbDQ_SetKey Exit rc=0 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=2C Type=API Entry cwbDQ_Read Entry 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=8C Type=SPI Entry 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=81 Type=SPI Entry 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=80 Type=SPI Entry 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=80 Type=SPI Exit .... 10:09:13.64 AM Data Queues P=D94 T=E78 Entry=82 Type=SPI Entry
    0 pointsBadges:
    report
  • TheQuigs
    You said the machine you're running is on Windows XP. Is it Service Pack 2 by chance. There are a number of issues with SP2 which may need to be addressed. I don't have the link handy right now, but you can search for the knowledgebase for information on it. Start at the iSeries Support home page at http://www-1.ibm.com/servers/eserver/support/iseries/index.html Then click on Technical databases and search the knowledgebase.
    0 pointsBadges:
    report
  • Cz80pj
    I contacted IBM today and requested help with this problem. They informed me that I had the base line service pack for V5R2 and before we could go forward I should load the current service pack. I loaded SI16136 service pack and retested. Great news...it now works. So IBM must have put a fix in that has resolved this problem. I want to thank all of you for your response on this problem.
    0 pointsBadges:
    report
  • Superfreak
    Figures.. It has been my experience that any time you load a newer version of CA onto a PC, always go up to the website and install the latest service pack. For some reason every "base" version has problems when it comes out. I expect that from Microsoft, not IBM!
    0 pointsBadges:
    report
  • TomLiotta
    For some reason every “base” version has problems when it comes out. I expect that from Microsoft, not IBM! Should we assume that you could put out a cross-platform product that ran on every Windows XP setup without ever needing a fix? Service packs for XP, viruses, spyware, registry patches, anti-virus software, 3rd-party firewalls, a couple dozen PC manufacturers, who knows how many hardware peripheral vendors each with their own drivers (and updates), old PCs, old BIOS chips, home-built kits, misconfigured PCs, Windows networking,... how many factors? It's one thing to make a complex product work on a batch of PCs in a development lab. It's another thing to keep it working on a few hundred million PCs of all types and configurations around the world. I'm impressed that I rarely need to update my System i Access service packs. I doubt if I average as much as even twice during the service life of a release. How often is Windows updated in the same time? How often do I dare skip those updates? Tom
    125,585 pointsBadges:
    report
  • INTERNET001
    I HAVE PROBLEM CONTINUE REPLY FROM DNS SERVER BUT WEBSITE PAGE NOT OPENING in xp window
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following