openedge

How to catch OS-COMMAND results in Progress-4GL?

时光怂恿深爱的人放手 提交于 2021-02-11 16:51:38
问题 I'm using the logging facilities, as described in this other post: OUTPUT TO VALUE("C:\Temp_Folder\logfile.txt"). ... PUT UNFORMATTED "Start : Check-zones" SKIP. ... OUTPUT CLOSE. This is working fine. Now I would like to add the results of an OS-COMMAND in the output file. I've already tried the following: (putting the results in a newly to be created file) OS-COMMAND NO-WAIT VALUE("WMIC printer get name, deviceID >> C:\Temp_Folder\Printers.txt"). This is working fine. So, I know the command

How to catch OS-COMMAND results in Progress-4GL?

此生再无相见时 提交于 2021-02-11 16:50:30
问题 I'm using the logging facilities, as described in this other post: OUTPUT TO VALUE("C:\Temp_Folder\logfile.txt"). ... PUT UNFORMATTED "Start : Check-zones" SKIP. ... OUTPUT CLOSE. This is working fine. Now I would like to add the results of an OS-COMMAND in the output file. I've already tried the following: (putting the results in a newly to be created file) OS-COMMAND NO-WAIT VALUE("WMIC printer get name, deviceID >> C:\Temp_Folder\Printers.txt"). This is working fine. So, I know the command

How to change date format based on variable initial value?

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 17:20:27
问题 I use below program to change the date format based on the value setup in variable(cDataFormat). But the concern is this can be changed by the user and the program should act accordingly DEFINE VARIABLE cDate AS DATE NO-UNDO. DEFINE VARIABLE clogindate AS CHARACTER NO-UNDO. DEFINE VARIABLE cDateformat AS CHARACTER NO-UNDO INIT "YYYY/MM/DD". /*this can be changed by user*/ cDate = DATE(11/27/2020). IF cDateformat = "YYYY/MM/DD" THEN clogindate = string(year(cDate),"9999") + string(month(cDate)

How to avoid AppBuilder removing pieces of code

核能气质少年 提交于 2021-01-29 11:11:09
问题 I'm working on a Progress-4GL programming environment, based on AppBuilder release 11.6. Until now I've been changing already existing *.w and *.p files, but now I wanted to created my *.w file from scratch. I've created a window and I've put a browse, a fill-in field and a button. Now I would like to add an event to that button. In order to do that, I add following lines to the *.w file: ON CHOOSE OF btn-Start_Query IN FRAME DEFAULT-FRAME DO: MESSAGE "button is pushed" VIEW-AS ALERT-BOX. END

How to do logging in OpenEdge Progress?

浪尽此生 提交于 2021-01-28 09:09:53
问题 I've found different ways to log something in Progress 4GL but none are satisfying: The simple MESSAGE statement has the drawback that it handles frames very badly: ON CHOOSE OF btn-Q4 DO: MESSAGE "Line 1". MESSAGE "Line 2". MESSAGE "Line 3". PROMPT-FOR ... WITH FRAME ... ... MESSAGE "Alert message" VIEW-AS ALERT-BOX. PROMPT-FOR ... WITH FRAME ... /* (another frame) */ ... MESSAGE "Another alert message" VIEW-AS ALERT-BOX. ... MESSAGE "Normal message". END. This starts by showing lines 1 and

Adding a tabpage control to a Progress-4GL Windows application yields a license problem while working with ActiveX

冷暖自知 提交于 2021-01-07 01:59:26
问题 I'm creating an OpenEdge Progress-4GL application, based on a window, where I like to add a tabpage. In order to do this (as there is no tab page control in the palette), I've tried to add the OCX (ActiveX) control "Microsoft TabStrip Control, version 5.0 (SP2)". However, when I try this I get the following error message: Messagebox title: AB Messagebox content: CtrlFrame Unable to create control. Het licentie bestand voor genoemde ActiveX control is niet gevonden. The last sentence is in

5G网络打破专有系统的桎梏

旧巷老猫 提交于 2020-08-19 22:04:42
云栖号资讯:【 点击查看更多行业资讯 】 在这里您可以找到不同行业的第一手的上云资讯,还在等什么,快来! 随着技术的不断变迁,专有无线接入网络的时代正在逐渐消失。运营商希望能在降低成本的同时增加灵活性,其需要易于部署且经济实惠的网络和网络组件,这也导致整个行业从4G专用硬件和专有软件开始转向安装在COTS硬件平台上的开放软件栈。 4G的专有组件 从核心网和RAN的角度来看待无线网络的话,核心网包括骨干网、城域网和区域网(图1)。早期,网络使用固定交换机和路由器来传输数据,如今核心网在RAN的边缘聚合数据,RAN将聚合的数据传输到无线电塔。 图1.无线网络由连接到聚合网络和网络核心的无线接入网组成 4G网络在1GHz至4GHz的频带上运行,每座发射塔都配备了一个基带单元(BBU),从核心网收集数据,并将其传送到远程无线电单元(RRU)。 4G在很大程度上是通过运行专有软件栈的自定义硬件来实现的,这种方法对于4G网络来说是可以接受的,但是考虑到5G以及所需成本,运营商已经着手开发开源解决方案。5G的目标是可互换的COTS ARM或运行开源软件栈的x86服务器。 5G网络 5G网络与4G LTE有本质上的不同,频段上,5G覆盖了从6GHz到300GHz的频段。由于频率越高,信号传播过程中的衰减也越大,所以5G网络的基站密度将更高。 5G将4G BBU拆分为无线单元(RU)、分布式单元

DC 概论六之multicycle_path

◇◆丶佛笑我妖孽 提交于 2020-08-13 16:09:30
注明:如需转载,请注明作者出处,谢谢~,Author:pythonlong 以下根据资料和个人体会整理,如果错误,疑问欢迎请指正,讨论!! 在讲多周期路径之前,先看下单频率路径的建立关系和保持关系 『Design Compiler calculates the default setup and hold relations and derives single-cycle timing, based on active edges.』 1.对于startpoint,active edge是寄存器的open edge。 2.对于endpoint,active edge是寄存器的close edge。 3.对于上升沿触发的寄存器,上升沿既是open edge也是close edge。 4.对于高电平出发的锁存器,上升沿是open edge,下降沿是close edge。 看一个例子: 下面进入多频率路径建立和保持 建立关系检查: 对于多频率设计,在两个时钟之间可能存在多个建立关系,对于目的时钟的的每一个锁存边沿,找到捕获边沿最近的发送边沿。发送边沿和捕获边沿的最小关系决定了这个路径上的最大延迟。 保持关系检查: 简单说就是,数据从startpoint发出之后,在被endpoint的active edge 锁存之前,不能被捕获。这个时序的最大值决定了,这个路径的最小延迟。 如下图所示: