Get answers.  Share knowledge.  Collaborate with peers.




Help in HTML

HTML is a markup language, not a programming language. So, HTML is out for uses such as this.
.
PHP has the rename() function that can be used in some cases. It also has pathinfo() that essentially returns everything but the extension. You can take results from it and concatenate your new extension to it. The pathinfo() function might be the best to use.
.
Tom



View Discussion   |  April 27, 2013  8:28 AM
HTML, JavaScript, PHP, PHP Coding
discussed by:
TomLiotta
108,330 pts.

I want to assemble a workstation and I don’t know which correct board to use

That’s a lot of questions for a single post. It practically asks for a course in custom PC building for a hardware novice, enough to build a potentially high-end system for what seems to be a special purpose.
.
There isn’t anything wrong with the components you listed, though the Nvidia Quadro brings a couple questions. The motherboard includes built-in HDMI output, so a separate GPU isn’t absolutely required. But beyond that, current Nvidia Quadro ranges from model 410 up through 6000. Slightly older models down to 100 can be picked up for as little as $120US perhaps. The higher end runs up to $4000US, so it’s a little vague to ask about “Nvidia Quadro” particularly given what the motherboard supplies and the limited uasge specs you supplied.
.
With creative price searching, you might put together a cheapest system as low as maybe $2500US. Using top equipment, you could possibly run over $10000US. Then comes software costs, but there has been no mention of what will actually be running on it nor what a general user will e doing.
.
I don’t know if anyone can say anything solid based on what you’ve said so far. It requires too many details and gets into professional opinions. Much more needs to be known for actual design specs.
.
Tom



View Discussion   |  April 27, 2013  6:43 AM
Data Center, Database, Networking
discussed by:
TomLiotta
108,330 pts.

What is the best program to record times a video has been played?

The “best” would be the one that you find that meets whatever your requirements are. Write down your list of requirements — price, memory, disk usage, performance, user experience, etc. — then compare features of whatever you can find. Set weighting factors for each requirement according to your preferences. Choose the one that seems to match most closely.
.
I’m not sure what criteria you’ll use for your search. I’m not even sure such a program exists. However, Windows SysInternals does have both Disk Mon and Process Mon, and you might find a way to use those. You might use them as guides for creating a program that does what you want.
.
Tom



View Discussion   |  April 27, 2013  3:01 AM
iTunes, Video hosting, Windows Media Player
discussed by:
TomLiotta
108,330 pts.

iSeries WorkStation v5.9 on Surface Pro

I don’t have an iSeries Access 7.1 available, so I don’t know if version 5.9 of the emulator is supplied with it. It is part of iSeries Access 6.1, though; and 6.1 was released four and a half years before Windows 8 came out. The Surface Pro and its drivers put IBM’s 6.1 release a full five years back. That’s too far back to expect changes.
.
IBM has no plans that I’m aware of for changing version 6.1 to run on Win8, and almost certainly never for a recent 3rd-party driver on Surface Pro hardware. I haven’t even seen that 7.1 will officially run on it. I have seen successful installs on Win8 of 7.1; they’re just not supported by IBM and not on a Surface Pro.
.
Unless you actually need the extra controls included with the iSeries Access workstation program, you probably should just try a more basic emulator such as the one from Mochasoft. Other TN5250 emulators might also work.
.
If someone has success installing and using iSeries Access 6.1 on a Surface Pro, they might post their experience here. But stay aware that if you run into problems later, there will be little or no support from IBM. Most likely the next iSeries Access release will include Win 8 support.
.
Tom



View Discussion   |  April 27, 2013  2:50 AM
AS/400, iSeries, Surface Pro
discussed by:
TomLiotta
108,330 pts.

What do you make of Facebook’s move into mobile applications?

I haven’t seen how it works, so I can’t say anything authoritative. I’ve only read reviews and blog posts describing it. (I have zero interest in Facebook personally.) From descriptions, it sounds like it will be temporarily good for Facebook, but not good for mobile overall until some things change.
.
To me, the big question becomes what happens when a second organization puts out the same kind of app for themselves? How will it coexist with Facebook on the same device?
.
Tom



View Discussion   |  April 27, 2013  12:40 AM
Facebook, Mobile, Mobile applications
discussed by:
TomLiotta
108,330 pts.

Any connect

Please clarify your question. Are you asking how to install? Or do you want to know how to use it? (Are you a user? Or are you wanting to distribute it to your users?) Or are you asking how its internal technology works?
.
Tom



View Discussion   |  April 27, 2013  12:21 AM
VPN, VPN connection
discussed by:
TomLiotta
108,330 pts.

How to auto-advance cursor to next input box (html within php)

Please define “auto-advance”. Does that mean that you want to control which input field on a form is next? Do you simply want to have the cursor jump to the next field when the last character is typed into the current input field? Is this a ‘tab’ question? Or is this a “record auto-advance” that you’re asking about?
.
A little clarification could be helpful.
.
Tom



View Discussion   |  April 27, 2013  12:17 AM
HTML, PHP
discussed by:
TomLiotta
108,330 pts.

AS/400 Trace Report

You need to study TCP/IP communications (or SNA depending on protocols, though SNA isn’t covered by TRCCNN). This isn’t something that can be put into a response or answer here. It is far too large of a subject.
.
Part of the problem is that there will be a potentially huge amount of ‘data’ that is part of the transmissions, and data bytes will often match text bytes from search strings. So for example, you might want to search for places where the RST bit is on. But the data might have the word “FIRST” in it. That might be a dumb example, but it is valid and it illustrates the problem that you seem to be asking about.
.
The point is that there is no value to you in having a trace until you know how to read one. And to read one correctly, you need to know TCP/IP. It’s possible that you are collecting traces to send to IBM, and in that case they know how to read it.
.
If you want to learn, run a Google search for something like [ tcp ip protocol bits ] and start reading. Plenty of on-line courses exist, and there are plenty of books. Also, the RFCs that define TCP/IP are very useful references and you should be familiar with them.
.
Tom



View Discussion   |  April 27, 2013  12:12 AM
AS/400, AS/400 Reports, Tandem
discussed by:
TomLiotta
108,330 pts.

Defaults the Physical file with ‘%’ for Character fields and -9999 for Numeric fields.

I don’t quite understand. Do you need to create a file that has default values defined for its fields? Or are you creating a file and adding records to it that have values in the fields?
.
Those are two different things. The first has no records, but the fields have attributes for “defaults”. The second does have records, but might not have field attributes for “defaults”; instead it simply has values in the fields.
.
What command are you using to “create” the file?
.
What is the point? What purpose is served? What business problem is being solved?
.
Tom



View Discussion   |  April 26, 2013  11:42 PM
AS/400, DB2, RPG, RPGILE
discussed by:
TomLiotta
108,330 pts.

CPF5011 COBOL subfile error

What do you mean when you say “I start reading the subfile at relative record number 1…”? That is, please show the COBOL READ statement that you use. Also, please show the statement that puts the subfile error indicator back out to a subfile record.
.
What does the SELECT statement look like for the subfile?
.
It might be difficult without seeing the logic of the code that does the subfile I/O. We don’t need to see the validation code; that can be in a PERFORM subroutine. But the logic that loops through the subfile reading changed records (or all records) and rewriting subfile error indicators might be necessary.
.
Tom



View Discussion   |  April 26, 2013  11:11 PM
AS/400, AS/400 Subfiles, COBOL
discussed by:
TomLiotta
108,330 pts.

Symantec Backup Exec 2010 media management

Hello,

The manufacturer would be the one to consult about the reccommended life span of the tapes.

It is possible that there is an unanswered media alert or a cleaning needs to be run.

What is the error the failed backups are getting?



View Discussion   |  April 26, 2013  9:12 PM
Backup tapes, Symantec Backup Exec
discussed by:
LMosla
50 pts.

What do you make of Facebook’s move into mobile applications?

I think it’s great. Facebook’s involvement further validates mobile and, more importantly, validates the fact that businesses and IT shops need to be on top of mobile management and security now more than ever.

Make the decision today to become one of the seemingly rare organizations that has a true mobile IT strategy. Anything less and you’re going to get bitten with IT overload, politics, or a breach.



View Discussion   |  April 26, 2013  5:00 PM
Facebook, Mobile, Mobile applications
discussed by:
KevinBeaver
10,860 pts.

GPO settings for WSUS not applying correctly to 2 machines

1. Run gpupdate /force and see if the settings change.
2. Log group policy using information here:
http://technet.microsoft.com/en-us/library/cc775423(v=ws.10).aspx
See if the policy changes again and then check the logs to see where the settings are coming from.



View Discussion   |  April 26, 2013  4:13 PM
GPO Window 2008 Server, Group Policy, Server 2008R2, Windows Update, WSUS 3.0
discussed by:
Scr
10 pts.

Two OPNQRYF on same file

Charlie
I like your answer.. either a runsql’s or a qmqry.
Phil



View Discussion   |  April 26, 2013  2:20 PM
AS/400, OPNQRYF, RPG Program
discussed by:
philpl1jb
44,220 pts.

How to display message in display file from a MSGF

Create Message File (CRTMSGF)
Add message IDs/messages in the message file.
WRKMSGF LIBRARY/MESSAGE FILE
Option 12 Work with message descriptions.
F6 to add message IDs with message text.
Include message subfile code in display file DDS source-
A R SUBMSG TEXT(‘Message Subfile’)
A SFL
A SFLMSGRCD(23)
A MSGKEY SFLMSGKEY
A MSGQ SFLPGMQ
A R CTLMSG TEXT(‘Msg Sfl Control’)
A SFLCTL(SUBMSG)
A OVERLAY
A 35 SFLDSP
A 35 SFLDSPCTL
A 35 SFLINZ
A 35 SFLEND
A SFLSIZ(4)
A SFLPAG(2)
A MSGQ SFLPGMQ



View Discussion   |  April 26, 2013  1:54 PM
AS/400 - DDS, DSPF, MSGF
discussed by:
LetItBe
185 pts.

Two OPNQRYF on same file

Another option is to use SQL without changing your program from RPGLE to SQLRPGLE.
You can use build your SQL statements and use QCMDEXC to run the RUNSQL command.
Or you can have a seperate program that uses SQL to build your file(s) in QTEMP and then you process them with your RPG program.



View Discussion   |  April 26, 2013  1:50 PM
AS/400, OPNQRYF, RPG Program
discussed by:
CharlieBrowne
32,945 pts.

Two OPNQRYF on same file

You could use CPYFRMQRYF to create the file(s) in qtemp and then process those…that would allow you to
create one opnqryf
copy if
close it
then do the next.
then call the rpg program ..



View Discussion   |  April 26, 2013  12:35 PM
AS/400, OPNQRYF, RPG Program
discussed by:
philpl1jb
44,220 pts.

Two OPNQRYF on same file

That’s your choice. I just wouldn’t want to keep giving my employer old technology if I could make improvements. I figure I’m paid to do what’s best for the employer, and I want to make myself more valuable.
.
However, it does take time and effort; and it’s not something to do without some experience. But even in that case, I’d make a copy of the program and study how to do it in spare time.
.
Tom



View Discussion   |  April 26, 2013  12:25 PM
AS/400, OPNQRYF, RPG Program
discussed by:
TomLiotta
108,330 pts.

Renewal of SSL certificate on AS/400

Doug & Tom,

I might had took default period of 1 year while creating the certificate for the first time. I shall check if I found any additional information on this.

Thanks for the discussion.
Ketan



View Discussion   |  April 26, 2013  11:59 AM
AS/400, SSL certificate
discussed by:
Ketan19
95 pts.

Two OPNQRYF on same file

I cannot build a logical on the file and dont want to change the type from RPGLE to SQLRPGLE for this.



View Discussion   |  April 26, 2013  11:24 AM
AS/400, OPNQRYF, RPG Program
discussed by:
RamvishakRamesh
1,975 pts.