How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?
CSC,
6 30070In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 20040How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)
6 228271.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
HCL,
8 154501) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?
TCS,
2 10419I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
4 11985The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
6 12271Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?
1 4871
what is kids-rpg?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How can we override a file during runtime in rpg?
what is the necessary keyword needed to scroll subfile records?
what is program status data structure?
how do I preserve and clean the array?
What is the purpose of record level identifier?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
What is the difference between iter and do?
What is ment by record level identifier?
Explain mdt?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
How Chain operation copies the record's data to the input buffer for the program?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?