Announcement

Collapse
No announcement yet.

Search Result

Collapse
24 results in 0.0163 seconds.
Keywords
Members
Tags
  • You can also choose from the popular tags.

clle x
  •  

  • castle123
    started a topic using error file on cpyfrmimpf

    using error file on cpyfrmimpf

    I have a CL doing a cpyfrmimpf and I want to output to an error file, when I test I am going message Field Definition or Error file ICRLESTER in MYLIB not allowed. Originally I had the error file as an sql table but found some online info that said it should be multi member dds file, not sure why the...
    See more | Go to post

  • Is there an API through which I can get a list of what program calls what?

    I am trying to create my own impact analysis tool in order to get a command over CLLE and RPGLE. I have looked this up in forums but couldn't get an answer.

    Is there a way, wherein I enter a full or partial program name and would get an outfile populated with the program name and what...
    See more | Go to post

  • BoZMan001
    started a topic Retrieve CHRID of a spoolfile.
    in DDS

    Retrieve CHRID of a spoolfile.

    We have a CL program running as a batch program that copies a spoolfile to another spoolfile along with the original spoolfile attributes. The duplicate spoolfile is then FTPed to a 3rd party software for processing. I have to apply the CHRID of the original spoolfile to the duplicate spoolfile using...
    See more | Go to post

  • vijayrmca
    started a topic Need to put the same query as DB2 in SQLRPGLE

    Need to put the same query as DB2 in SQLRPGLE

    All,

    I am having one DB2 query

    SELECT year(current date)*10000 +
    month(current date)*100 +
    day(current date-1 days),count(*) FROM mstfile.

    Above query gives me the result as 20200108 ,100 as output...
    See more | Go to post

  • Check Creation Date of Object on IFS drive to decide wether to delete or not

    Hey at all,
    I've been looking the web for several days now without being able to find a satisfying answer to my problem.
    Ideally I don't want to work with an API, and want to know if there is any functionality given within the iSeries.

    I plan to have a CL programm checking our...
    See more | Go to post

  • CaptainRon
    started a topic STRPCCMD leaving black 5250 screen

    STRPCCMD leaving black 5250 screen

    All, this works just fine
    STRPCCMD PCCMD(&URL) PAUSE(*NO)

    Except when you call it from the 5250 screen and it opens up a browser the 5250 screen is black and waiting on you to click it before it will display the screen back to where you called the CL from.
    Anyone else...
    See more | Go to post

  • CaptainRon
    started a topic Journals from one system to another

    Journals from one system to another

    So I have been doing Journals forever and using them to see what has happened to a file etc. We have a production system that has journaling turned on. What I want to do is extract specific files ( I already know how to do all that ) to the test system. I can do this by extracting the production...
    See more | Go to post

  • pratikra
    started a topic How to calculate week number for month in CLLE?

    How to calculate week number for month in CLLE?

    Please help me out as i want to automate a task and main part is calculating week number of month. I have tried a logic where you retrieve 1st day of week of the month and then add to the current date and divide by 7.
    It seems to work just fine but gets stuck on some days when the week starts...
    See more | Go to post

  • Retain input buffer from fields when QINACTITV kicks user from session. CPI1127

    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...
    See more | Go to post

  • KevinStaples
    started a topic Copy File Not Working Right

    Copy File Not Working Right

    I have a CPYF in a CLLE program. I am looping inside my program each time through passing something different to the cpyf command. The first time through &VALUE = 'A', the second time through it is 'AA'. On the first pass it is pulling everything in FLDA that starts 'A', not just the values that...
    See more | Go to post

  • Keith Hodges
    started a topic Dropping a schema without generating inquiry message CPA7025
    in SQL

    Dropping a schema without generating inquiry message CPA7025

    I'm writing either a CLLE program or an SQL script to build a schema full of tables, programs, and service programs, and I'd like it to be fully automated.

    My issue is that in the beginning of the CL, when dropping the schema if it already exists, an inquiry message, CPA7025, is generated...
    See more | Go to post

  • Infant Tom
    started a topic Record count in multimember PF

    Record count in multimember PF

    How to retrieve the record count of a multimember PF directly in a single shot.Is there any API to take the total record count.

    At present i try RTVMBRD in a loop and also reading spool of DSFD.Is there any other way.
    See more | Go to post

  • Infant Tom
    started a topic Retrieve record count of Multimember PF

    Retrieve record count of Multimember PF

    Hi,

    I'm in search for a way to retrieve the total number of records in a multimember physical file in a single command.

    I dont want to use RTVMBRD in a loop and also read the count by using outfile from DSPFD.

    Is there any other way ( like API's) which will...
    See more | Go to post

  • ShadowBoss
    started a topic Running CHGDTA command in CL programming?

    Running CHGDTA command in CL programming?

    Hi folks, this is a task I've received from my online professor, who is conveniently away for a month after assigning this lol....(tl;dr version at bottom)

    I'm trying to create a CL program that will run a DFU program that I've already created.


    Breakdown of what's what:...
    See more | Go to post

  • kswanson0522
    started a topic Convert dec to int

    Convert dec to int

    I have a parm that needs to be dec, this then needs to be converted to int. I have tried many iterations of %bin but the conversion always gets corrupted. Is this even possible?
    Thanks
    See more | Go to post

Our Sponsors

Collapse
Working...
X