• need help on getting day of the week for given date

    I am using the below sql to get the day of week but i am getting :NumWeekDay as 0 I am using V5R3...can some help me on this to get the day of week. C/Exec SQL Set :NumWeekDay = DayOfWeek_ISO(:MyDate) C/End-Exec the above sql to get the day of week

    SOW110 pointsBadges:
  • File Issue (Declared in OUTPUT mode)

    Hi All, A file (say FIL1) has been declared in outmode in a program A which is running continuously without ending and also writes the record in the file FIL1. There is an other program B which checks the record availablity in the file FIL1. But the problem is the problem A writes the record in...

    frmdeva365 pointsBadges:
  • Need a RPGLE program

    Hi, I want a RPGLE program which generate the next date. the input date format is YYYYMMDD...for eg. if we give today\'s ship date it would generate the tomorrow\'s ship date...it should exclude the weekend dates...I need it very urgent. Please help... simply i can say if we give today's date as...

    SOW110 pointsBadges:
  • Update duplicate record in rpgle

    I have a file where in filed1, field2 and field3 are key fields. Now these key fields are not unique, I need to update field 4, 5 and 6 based on the selection by user via subfile. To say f1 f2 f3 f4 f5 f6 A0123 A0123A *FILE CLM/D07 D07 1 A0123 A0123A *FILE CLM/D08 D08 2 A0123 A0123A *FILE CLM/D05...

    nasrunisar55 pointsBadges:
  • How to find the If – Endif relationship

    Hi it is very hard to find which END is related to which IF statement. I know we can find it during compilation by using \"Source listing indentation \" but for this we have to check the spool file. i wanna know is there any way to find it in source. I mean i have seen thousands line of codes where...

    ITKBHARAT120 pointsBadges:
  • Identifier is ambiguous .

    Hi I have a simple program that moves value \'a\' into a variable AB. the length of AB is 1. during debug I eval the value of AB.Instead of showing the value of AB it gives me the following notification : \"\"\"\" Identifier is ambiguous \"\"\"\". But when i am changing the variable name from...

    ITKBHARAT120 pointsBadges:
  • Month names between 2 numeric Cymd format dates

    hi, Hi, I have 2 Numeric field which has cymd date format Date1     7s 0 Date2      7s 0 date1  = 1110128    ( which is 2011-01-28    : January) date2 = 1120101  (which is 2012-01-01   ;January) So what i need is , I need to write records in a file , what are all the  months...

    22917510 pointsBadges:
  • WEB SERVICES ON SYSTEM I USING WEBSPHARE SERVER

    Hi,

    BISHT321245 pointsBadges:
  • Difference between RPG400 & RPGLE?

    What is the difference between RPG400 & RPGILE?

    Titan5 pointsBadges:
  • RPGLE opcode similar to SNDF in CL

    Is there any way we can display a message "Processing" while the program is building the data in a subfile. In CL we can use the SNDF command to send such message to the display. Please help.

    ShajiMohan45 pointsBadges:
  • iSeries AFPDS printing to an IP printer is not supporting images to IP printer.

    I am attempting to eliminate several pre-printed forms by using AFPDS, however I am running into a problem printing images. I first encountered the problem in trying to shade boxes. After research revealed that box shading is actually an image, I tried adding our company logo, confirming that I am...

    Len5 pointsBadges:
  • Staying on the Same Subfile Page When Auto Refreshing

    I am doing an auto refresh. To do this, I created my display file using waitrcd(15), used maxdev(*file) for my workstn file and instead of using exfmt, I turned on the indicator which controls my INVITE, wrote to my subfile control record ,read from my display file and then turned my INVITE...

    GHENDER190 pointsBadges:
  • Remove extra spaces from a graphic or UCS2 field in RPGLE

    I am working on a requirement where I have to trim Graphic ('G') or UCS2 ('C') field in RPG program. %TRIMR is not working for these fields. A Graphic or UCS2 field is declared with a length of 15000. However, it only contains 258 character (graphic/ucs2 type). But, using TRIMR does not remove the...

    Supriyoas400130 pointsBadges:
  • MSGW in WRKACTJOB

    How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time

    Sitaratnam10 pointsBadges:
  • How to convert prtf file to pdf?

    i want to convert printer file output to pdf file , can anyone help me plz its arjent plz guide me , how i will do that ? give steps plz?  

    Sms121185 pointsBadges:
  • Converting from System 36 to iSeries V5R4

    I've been landed with a project to convert a System 36 system to iSeries 520 with OS V5.4. I have never worked on a System 36 and do not know where to start. Have looked for some documentation in Red Books but could'nt find anything. Does anyone have something I can use - something like the...

    JohnDavid5 pointsBadges:
  • When doing a chain the (HI) indicator return with ’1′. But if I do a query on the same file I can see that the record is in the file.

    I have a program in RPGIII. In the production environment the users are getting the following error message: RPG1221: (Issued update or delete in SDFBOBS0 without prior READ or CHAIN). I thought i shall put this program in my test environment and try to do the same as what the users have done in...

    KorsouRPG5 pointsBadges:
  • Parameter value in uppercase

    Hi i have a problem in entry program ,when i get parameter value its convert to upercase Ex.  i have enter Inv after go to program it become INV

    97834441841,355 pointsBadges:
  • retrieve library list

    how to retrieve library list when i pressed f4 in a field and is field has *all the it fetch all library listed in subfile

    97834441841,355 pointsBadges:
  • serviece program in rpgle

    what is serviece program in rpgle and how to use it

    Bcd5 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