I need to generate outfile for object of all the user lib.
in the sysmte using cmd DSPOBJD.
But this cmd is correcpted in my server,Any body tell me is
there any alternative...?
Answers were Sorted based on User's Feedback
Answer / syam
Yes, you can use this command
WRKOBJ OBJ(*ALL) OBJTYPE(*LIB)
then
Option 8 = Display description
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / sudhir
You can use the above command, but you will have to write
each object individualy to an outfile..Pain...
This is a system command..so check with IBM. They could be
able to fix it..
| Is This Answer Correct ? | 0 Yes | 2 No |
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is the purpose of FRCDTA keyword?
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
what is the difference between SETON RT & RETURN?
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
This is my Physical file 'EMPS' existing in library "TAMIL1" and its record format is 'EMPRCD" a)its source is R EMPRCD ENO 4 0 ENAME 10 EADD 10 b)The records present in EMPS are as follows ENO ENAME EADD 0001 tamil coimbatore 0002 kumar bangalore 0003 sunder bangalore 0004 arunkumar chennai 0005 pandi hyderabad 0006 santhosh hyderabad 0007 sasi salem 0008 kalai chennai 0009 suresh hyderabad 0010 vijay bangalore 0011 Arul chennai 0012 velu chennai 0013 khan bangalore 0014 praba chennai 0015 praba.p coimbatore 0016 anand ooty 0017 raja erode 0018 sankar erode 0019 vadivel namakkal 0020 anbu chennai 0021 Ajith mumabi c)now i want to select the 'ENAME' field records starting with 'S' for that i have created a RPG program its source code is PGM DCLF FILE(TAMIL1/EMPS) DCL VAR(&MYENO) TYPE(*CHAR) LEN(4) OVRDBF FILE(EMPS) SHARE(*YES) OPNQRYF FILE((TAMIL1/EMPS)) QRYSLT('ENAME *EQ %WLDCRD("S *")') READ: RCVF RCDFMT(EMPRCD) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) CHGVAR VAR(&MYENO) VALUE(&ENO) SNDUSRMSG MSG(&MYENO) SNDUSRMSG MSG(&ENAME) SNDUSRMSG MSG(&EADD) GOTO READ END: CLOF OPNID(EMPS) DLTOVR FILE(EMPS) ENDPGM Is this coding correct sir,the program gets compiled,and if i call it it says query running but records are not displayed.please help me out
while i am using the dspmsg command on comman line in Mocha am getting error like Not authorized to message queue message my messagequeue Name? can anybody help me how to change my message queue Am anable to see my messages in message queue
what is batch debug in as400?
in rpg could u please tell me errors types and meanings like 3030 that ....
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.