I'm still kinda new to the RPG space, and have frequented this forum many times for information. I guess it's time I actually post a question as my research has not led me to a working result yet.
My new shop has a strict 20 minute inactivity timeout setting for the workstations. Workstations...
Announcement
Collapse
No announcement yet.
Search Result
Collapse
77 results in 0.0009 seconds.
Keywords
Members
Tags
-
pizzaguy started a topic Retain input buffer from fields when QINACTITV kicks user from session. CPI1127in RPG/RPGLERetain input buffer from fields when QINACTITV kicks user from session. CPI1127
-
Edit code without changing source date
Hello. Is it possible at all, maybe there is a setting somewhere, to edit some lines of code without the source date changing? My scenario is that I'm working with free format and I put an if statement around a large chunk of code. I want to indent that all the code to keep it neat but I don't want...
-
Converting Spool to PDF using CPYSPLF
So I'm using a cpysplf to convert a spool file to PDF and putting it on the IFS. It works fine EXCEPT I do not get the page breaks etc. I need this to work so I can post to an online document management system.
Anyone have some ideas?
CPYSPLF FILE(QSYSPRT) TOFILE(*TOSTMF) SPLNBR(*LAST)...
-
i/o operation taking too long after approx 13 lakh records
Hello,
One of my RPGLE developer has come up with an issue where after approx 13Lakh write operation in a file RPGLE program runs very slow, program is just reading from Iseries Journals and dumping it to a PF
Has anyone come across any scenario like this, and/or do u have...
-
Simple RPGLE display file echo program on V5R3
Greetings (again) folks.
I'm attempting to create a simple RPGLE program that displays a display file with one input field, and one output field, collects the input, then copies (echo's) the (display file) input field to the (display file) output field.
The program is based...
-
free format rpg - not working in version 7.2
Hello,
I'm attempting to compile a RPGLE program that uses the new free format logic for H, F, D, specs, etc., but the program won't compile via SEU (tried to turn off syntax checking but the option isn't there (on the F13=CHANGE DEFAULTS screen)). I'm on operating system version 7.2...
-
Compiled Machine Interface
Hi everyone,
I just got a machine interface compiler working and was wondering if it was possible to reverse engineer programs to retrieve the MI source out of them.
I'm really into how compilers work and I generally learn better by example, which is why I asked.
...
-
Multi selection in subfile
Hi,
I am new in RPGLE. Just want to ask one question.
How to make cursor focus on last selection?
currently when i entered, cursor go to first record.
TQ.
-
DFTACTGRP(*NO) - problem when calling other program.
Hi all,
I have added QSORT to an existing program (PGMA) so that I can sort records by different subfile columns via a datastructure.
To facilitate QSORT I added : H DFTACTGRP(*NO) BNDDIR('QC2LE') - this works nicely.
All programs higher in the stack are DFTACTGRP(*YES)...
-
Printer top of page question
So lets say I have a simple program that reads through some records and as it does this it totals some fields. Then I print the total during the end of file. What if I want to print those totals at the header level? Is there a "top of page" overlay anyone knows about? I know I can do this...
-
Problem with Field Exit Handling
Hello,
I've written a DSPF in DDS. In a RPGLE Programme-Code I do a EXFMT on this DSPF. This DSPF has six fields packed(5:2). The user has to write an amount into one of this fields.
There is a further field called Sum. It's the same DSPF but another record. Now I like...
-
Monitor Inactivity for a program
I need a program or something that can monitor how long a user is sitting in a program with NO inactivity. Lets say a user is sitting in order mod for 30 minutes.. I would like something monitoring that program and then doing something to that session etc..
Anyone have something like...
-
Which Library in LIBL does a specific File exist in?
Hi Everyone,
I am accessing stock location data from FILEA in two separate libraries (the two libraries represent two companies that use the same Warehouse).
I will be using the EXTFILE in the F spec of course. My question is;
How can I identify which library in...
-
Decrypt 3DES file
Hi
I'm trying to decrypt 1 file encrypted in 3DES in an AS400 with a java aplication. I'm using CIPHER to enrypt the file
mode:ECB
padding=NONE
number of keys=3
but the java aplication doesn't decrypt the file in a good way.
What am...
-
[API] QSPGETSP: Get print Content of Spoolfile problems
Hello,
I'd like to search in a spoolfile and therefore I read the spoolfile into a userspace object.
But my result "WorkString" (bold formated) is either blank or has some mysterious content.
I cannot recognize any error so far, but that is my first meeting...
Our Sponsors
Collapse
