• compile commands in RPG

    hey all! i am working on a project where i have to use compile commands for various member types, such as CRTRPGPGM for RPG, CRTPF for PF and so on.. but these commands have to run in the background, and the user should know nothing of it, i.e. it should be program oriented. how can i achieve this?...

    Sairolla0 pointsBadges:
  • Performance issue

    Hi I am using an OPNQRYF in a program which is used quite frequently. Now, the program takes about 20 secs when called once. I tried to create some logicals which can expedite the access to files but there has not been any appreciable change in the performance. Can anyone suggest any other method...

    Pgsdeb20 pointsBadges:
  • WRKNAMSMTP updating from CL

    I am sure that this question has been asked many times before but have never seen any answers. Since there is no UPDNAMSMTP command how can I update the System alias table programatically from CL or RPG ?

    Barrell0 pointsBadges:
  • Program Status Data Structure

    Hi All, For position 191 - 198 in the SDS, is this always the Date the Job Entered the system? For example, we have a CL that starts at 23:50 on say 5/10, it does some processing and on the way out it calls an RPG at say 0:35 on 5/11. Will the date in positions 191-198 reflect 5/10 or 5/11 when...

    RaydenR0 pointsBadges:
  • souce file listing

    hi all! i wanna know how can i retrieve the names of the components of a Source Physical File i.e. the names of the souce code (members) within a particular Source Physical File...i want ot retrieve the names and store in a database file and later use them for subfile operations. kindly help me...

    Sairolla0 pointsBadges:
  • Monitoring Tape Drives

    Hello everybody, Well, I'm trying to write in C or CL a program that will monitor the different Tape Drives to know when and by who the drives are vary on and vary off. Does anyone as an example or can give me some infos to start because I'm really lost... Thanks in advance, Pierre.

    PierreLG45 pointsBadges:
  • QBNLPGMI api examples

    Hello! Can anyone please help me? I didn't work with api's, and try to get information about bounded modules in ILE C programs. And I try to use QBNLPGMI api. Does anyone have some examples of using this api in C or CL programs? Thanks in advance. Dalibor

    Dalibor10 pointsBadges:
  • “Command prompting ended when user pressed F12″

    I have a CL that calls a RPG selection subfile pgm. If the user presses F12 during the selection process, I want to send a message to the user similar to the one shown in the subject line of this post. I have experimented with various settings of a SNDPGMMSG command from the CL but can't seem to...

    Floyd02320 pointsBadges:
  • Transfer / Copy OS/2 files with Extended data attributes to iSeries

    We have 1,000's of files that were originally created in OS/2. These files were created (OCR) from an image file so we could do text searches on them. OS/2 created these files with Extended Data attributes. We now need to copy these OS/2 files from an XP workstation to an iSeries networked drive....

    CasNowak0 pointsBadges:
  • Limiting WRKMSGQ from WRKWTR

    We have some remote non technical users use the CL command WRKWTR and op 7 to restart printers. Inside that option the user can select F16=Remove all except unanswered. Sometimes they do this and it makes problem resolution somewhat difficult. Any advice on restricting the F16 option or any other...

    FDCSEH0 pointsBadges:
  • using QDBRTVFD to find SQL view create statement

    Hello all. Just wanted to know if anyone out there knows how to use QDBRTVFD to retrieve the SQL view create statement. For our update process, I am scanning the customer's libraries to find buisiness views. When I find them, I want to extract the SQL view create statement (like in DSPFD) and place...

    Jley6180 pointsBadges:
  • Activation Groups

    I am changing some CL programs and COBOL/400 programs to ILE and ran into problems with OPNQRYF. I think it is due to the fact that the default activation groups when compiling these 2 different types of programs are different, so the results of OPNQRYF are not available to COBOL program. Can I...

    Kjjlori0 pointsBadges:
  • Retrieving Job Info

    I have a CL submitted from the Job Scheduler. In this job I need to kill an active job before processing, then strat it up again when processing is complete. For the active job I know the User ID and the Job Name and this is it, in addition there will always be more than one job out there (1 active...

    RaydenR0 pointsBadges:
  • Retriveing massage from submited job in CLP

    I have CLP and a cobol program. CL program calls the cobol program in Batch mode by doing SBMJOB. The cobol program processing 1000 records from a database file. If it founds errorneous record in the time of processing, then it stops processing with a system generated error massage and control go...

    Mithunpaul15 pointsBadges:
  • Meaning of USER MOD FLAG generated in RTVCLSRC

    The source generated from the RTVCLSRC command has some header comments which give some information about the CL program.  One comments has; "User mod flag  . . . . . . . . . . . . . :   *YES" .  I can't determine what this means or refers to.  Any ideas?              

    Unknowing120 pointsBadges:
  • User Auditing/Journaling

    I'm new to security on the AS/400 (730). We need to have a record of what program a user calls through our ERP system or what objects are changed and who changed them. I've read some on journaling but not sure if that will work for what we need. Suggestions? Thanks Mark

    Hllwyrs0 pointsBadges:
  • How can I split job by determine no. of records ?

    I have a problem. My transaction file is about 20,000 records. This file is used as input/update file. It uses a long time when we run job in day end. I want to use less time. How can I split job to 4 job and each job run only 5000 records? How can I determine as follows ? job 1 process data only...

    Cookiekitty110 pointsBadges:
  • CL programming, command keys

    In a CL program, if I use a command like DSPUSRPRF that presents a screen to the user, and has F3 and F12 keys active, how do I detect the keys the user has pressed upon exiting the command? If I am using a display file in a CL program, I know I can check indicators IN03 or IN12, but this does not...

    JeffGT3500 pointsBadges:
  • Parsing spooled File.

    Dear, I have to write a program to parse and analyse a spooled file on a daily basis. In other words, I have to extract some datas from the spooled file and work on those datas. Well, I would like to write this program in C or CL (not RPG) 'cause I'm from the Unix world... :-( Any ideas, or help ?...

    PierreLG45 pointsBadges:
  • deal with microsoft access data base file from RPG program or clp

    hello, I need to made clp or RPG program to open microsoft access data base file from my PC then read and update special table from this file thanks best regards laila elsharkawy

    Lsharq0 pointsBadges:

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