Get answers.  Share knowledge.  Collaborate with peers.




24 digit number: Arithmetic operations?

It would only be a problem if you are using an old obsolete AS/400; and if that’s the case, no one can help because you didn’t tell us critical information. Even in V5R3 (which is also so old that it’s been out of support for four years), COBOL can handle 24-digit numbers and larger.

.
Here is debug output from a COBOL program on V5R3 that shows the value of a 24-digit number:
 Debug . . .
 .
 F3=End program   F6=Add/Clear breakpoint   F10=Step
 F12=Resume       F17=Watch variable   F18=Work with
 BIG-NBR = 000000000000000000000052.
I don’t know why you’re having trouble. You need to tell us about your environment because it has worked with larger than 24 digits for a number of years.
.
Tom


View Discussion   |  April 18, 2013  11:07 AM
COBOL/400, IBMi, RPG
discussed by:
TomLiotta
107,915 pts.

How to solve an Outlook archiving problem

Yes it is true that Outlook 2007 offers PST file size limit of 20 GB. But this is the expandable limit upto which you can expand the size. However normally as soon as you reach to around 4 GB and 5 GB, Outlook starts showing such warning messages of oversize etc. and also makes it slow. As Paul, suggested you can either expand the size by making registry changes or simply can use some other alternative solutions like compact oversized PSTfile automatically or manually with Compact Now setting in Outlook. However manual step takes a lot of time so I will recommend the automatic way. You can check this blog post http://it.toolbox.com/blogs/recover-outlook/all-about-compacting-outlook-pst-file-53163 . Hope this will help you in reducing the size of Outlook.

Regards
Maria



View Discussion   |  April 18, 2013  10:52 AM
Microsoft Outlook 2007, Microsoft Outlook error messages
discussed by:
mariapete
200 pts.

Transfer Lotus Notes email to Outlook

You can convert lotus notes emails to Outlook file. Use a NSF to PST converter to accomplish this task.

Regards
Maria



View Discussion   |  April 18, 2013  10:51 AM
Lotus Notes 5.8, Microsoft Outlook
discussed by:
mariapete
200 pts.

How do I copy Outlook contacts

Follow these steps :
-Open Outlook and click on Contacts in bottom left corner of Outlook Window.
-Now click on File -> Import and Export and select the ‘Export a File’.
-Click Next. Select Personal Folder File and click Next twice. But make sure that Contact folder is selected.
-Click Browse to save the contact data at any desired location and then click finish.
-You can copy this file into any portable device like pen drive, CD etc. and then later import it into Outlook of your laptop.

Regards
Maria



View Discussion   |  April 18, 2013  10:50 AM
Microsoft Outlook, Microsoft Outlook contacts
discussed by:
mariapete
200 pts.

Microsoft Outlook error

To fix this issue you can use any of these two methods:
-Reset your Internet browser settings
-Export/Import the registry key from another computer

You can follow the complete steps from this Microsoft KB – http://support.microsoft.com/kb/310049

Regards
maria



View Discussion   |  April 18, 2013  10:48 AM
Microsoft Outlook, Microsoft Outlook error messages
discussed by:
mariapete
200 pts.

Emails not entering inbox

You can do following things :
Check your Outlook for any Rule or Filter.
Check Junk Mail Folder
Check your Anti-virus software
Search for messages which you have received today
If nothing helps then contact your ISP administrator

Regards
Maria



View Discussion   |  April 18, 2013  10:47 AM
Microsoft Outlook, Microsoft Outlook issues
discussed by:
mariapete
200 pts.

24 digit number: Arithmetic operations?

One problem is the length of the number. 24 digit integer is out of limitations of Cobol, Java etc.
The solution is to cut the number into pieces: 9 digits, 7 digits, 7 digits 1 digit. Calculate the modulo of part one, concatenate it with part 2, modulo again and so on. The algorithm is well known. The calculation itself is about simple 10 lines ob Cobol code.

I just wrote a simple Cobol program for AS/400 doing this:
CALL PGM(IBANLIB/IBANCALC) PARM(’54092400′ ’123456′ ”)
parm 1 = bank code, parm 2 = account, parm 3 = outparm IBAN.

In addition to the modulo calculation you need some simple code for the specialties of some banks. The final documentation is available from Bundesbank since April 03.

Also I would add the usual SQL lines, so that Cobol programs can be called from programs/CLs inside the AS/400, as well as from outside as a service, like from Java programs like this:
ProgramCall instanceProgramCall = new ProgramCall(instanceAS400Session, “/QSYS.LIB/IBANLIB.LIB/IBANCALC.PGM”, as400parm);

Maybe I will publish the code on some freeware download platform, or sell it for a sixpack beer.



View Discussion   |  April 18, 2013  10:16 AM
COBOL/400, IBMi, RPG
discussed by:
gast951
75 pts.

Date conversion

Great, now I need to compare the dates. I have a wDateA field of 6A which contains date data stored as ddmmyy and wDate1 which is of 8A contains date data as yyyymmdd and wDate2 which is also of 8A and contains date data as yyyymmdd. Now I want to know whether the 6A date field(wDateA ) is between wDate1 and wDate2
I tried like this but it is crashing with ‘receiver too small’ error.
%Date(wDateA:*DMY0) %Date(wDate2:*Ymd)



View Discussion   |  April 18, 2013  8:55 AM
AS/400, AS/400 Fields
discussed by:
RamvishakRamesh
1,880 pts.

Call detail recording and DID

This looks very much like an academic question. Why is it assumed that there are “2 steps”? — Tom



View Discussion   |  April 18, 2013  8:07 AM
CDR, PBX
discussed by:
TomLiotta
107,915 pts.

Date conversion

Simplest might be [ eval wDAte = %date(wISODate) ]. — Tom



View Discussion   |  April 18, 2013  8:05 AM
AS/400, AS/400 Fields
discussed by:
TomLiotta
107,915 pts.

Position at which value is entered in a subfile

The subfile relative record number value can be specifically retrieved from the I/O feedback area for ICF and display files without any “keyword”. — Tom



View Discussion   |  April 18, 2013  7:57 AM
AS/400, AS/400 Subfiles
discussed by:
TomLiotta
107,915 pts.

Position at which value is entered in a subfile

The “keyword” would be SFILE(recformat:rrnfield). — Tom



View Discussion   |  April 18, 2013  7:52 AM
AS/400, AS/400 Subfiles
discussed by:
TomLiotta
107,915 pts.

Position at which value is entered in a subfile

hi Philip,
Readc Will read the changes made and fetch the value which is entered, not the position in which it is entered.



View Discussion   |  April 18, 2013  5:47 AM
AS/400, AS/400 Subfiles
discussed by:
jainamit
380 pts.

Position at which value is entered in a subfile

Hi Charlie,

That is what i am asking. how to get the sfl record number. What is the keyword?



View Discussion   |  April 18, 2013  5:44 AM
AS/400, AS/400 Subfiles
discussed by:
jainamit
380 pts.

Export contacts info from Outlook 2007

FOR OUTLOOK 2007/2010

1. Click the File tab.
2. Click Options.
3. Click Advanced.
4. Under Export, click Export.
5. In the Import and Export Wizard, click Export to a file, and then click Next.
6. Under Create a file of type, click the type of export that you want, and then click Next.
The most common is Comma Separated Values (Windows), also known as a CSV file.
7. Under Select folder to export from, select the contact folder that you want to export, and then click Next.
 NOTE    Unless you chose to export to an Outlook Data File (.pst), you can only export one folder at a time.
8. Under Save exported file as, click Browse, select a destination folder, and in the File name box, type a name for the file.
9. Click OK.
10. In the Export to a File dialog box, click Next.
11. Click Finish.

For pictures, Press F1 [help] then type “export”



View Discussion   |  April 18, 2013  4:53 AM
Microsoft Excel, Outlook, Outlook 2007, Outlook 2007 contacts, Outlook 2007 import/export, Outlook contacts
discussed by:
agasega
10 pts.

Making changes in a user profile with a CL program

Okay, you’ve described the tasks. What is the problem? — Tom



View Discussion   |  April 18, 2013  2:46 AM
AS/400, CL Program
discussed by:
TomLiotta
107,915 pts.

Message subfile

Is your use of QMHSNDPM new or is it using a more recent coding style? Please post the calling code including all related data definitions.
.
APIs do sometimes have bugs. But they don’t show up often after early-release gets a workout, and they usually appear in APIs that are less commonly used. QMHSNDPM is so widely used in so many different ways that a bug in the API is an extremely unlikely cause for this problem.
.
Tom



View Discussion   |  April 18, 2013  2:43 AM
AS/400, MSGF, QMHSNDPM
discussed by:
TomLiotta
107,915 pts.

Upgrade OS on IBM iSeries from V5R4 to V6R1

The System Openness Includes can be installed the same way any OS option is installed. — Tom



View Discussion   |  April 18, 2013  12:48 AM
IBM iSeries, QSYSINC
discussed by:
TomLiotta
107,915 pts.

Execution of formula language in a LotusScript agent without using evaluate statement

I’m not clear on your situation. Where does this @If formula exist? Only in your evaluate statement? Do you have a computed field with this as its calculation? Can you get the formula to calculate by any method? Are you getting an error message about a text string being too long? Please give more detail.



View Discussion   |  April 17, 2013  8:37 PM
LotusScript, LotusScript Agent
discussed by:
Stiletto
2,700 pts.

Message subfile

That was short-lived. Another unrelated change (developing pgm now so frequent changes) and api seems to fail again – in a different way. MSG subfile now begins with an informational message (about the DDM file-same one I’ve been using) and never changes (even tho I force errors which would normally populate the MSG subfile). I managed to get a partial field during debug and it mainly has ‘CPF’ where it stops. So my guess is I’m getting an execution error.
So … general advice might help, but any focus on the error itself seems unlikely to get us anywhere.



View Discussion   |  April 17, 2013  8:18 PM
AS/400, MSGF, QMHSNDPM
discussed by:
aceofdelts
1,565 pts.