Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
sunbelt-plb-samples/agenda/agendagen.pls at main · KcsDev1982/sunbelt-plb-samples · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
KcsDev1982
/
sunbelt-plb-samples
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
5
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Files
Expand file tree
main
Breadcrumbs
sunbelt-plb-samples
/
agenda
/
agendagen.pls
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
129 lines (110 loc) · 4.72 KB
main
Breadcrumbs
sunbelt-plb-samples
/
agenda
/
agendagen.pls
Copy path
Top
File metadata and controls
Code
Blame
129 lines (110 loc) · 4.72 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
*---------------------------------------------------------------
.
. Program Name: AGENDAGEN
. Description: System Generation Program
.
. Revision History:
.
.
.
. Include the file specifications.
.
INCLUDE agenda_file.inc
CTDATA INIT " Initial User 12 Apr 198512:00 am12 Apr 198512:00 am"
CTDATA1 DIM 108
SEQ FORM "-1"
ZERO FORM "0"
ANS DIM 1
DISPLAY *ES,"Generating inital AGENDA files"
MOVE "10" TO MAXUSRNO
MOVE "1" TO MAXAPPT
PREP CNTFILE,AGCTRL
WRITE CNTFILE,SEQ;MAXUSRNO,MAXAPPT
CLOSE CNTFILE
PREP CONTROL,AGDCONT
MOVE CTDATA TO CTDATA1
WRITE CONTROL,ZERO;CTDATA1
CLOSE CONTROL
PREP USRFILE,"agendau.data",FSU,"U,1-10,11-16,17-36,43-47","91"
MOVE "9999999999" TO USERID
MOVE "999999" TO USRNO
MOVE "Initial User" To USRNAME
MOVE "ADMIN" TO UGROUP
WRITE USRFILE;USERID,USRNO,USRNAME,USREXT,LOFLAG,UGROUP,STATDATE,STATTIME,STATFLAG,STATMSG,FMTIME,MEETFLG
KEYIN "Generate sample users ? (Y or N) ",ANS
CMATCH "Y" TO Ans
IF EQUAL
MOVE "2" TO USERID
MOVE "2" TO USRNO
MOVE "Bill Smith" To USRNAME
MOVE "SUPRT" TO UGROUP
WRITE USRFILE;USERID,USRNO,USRNAME,USREXT,LOFLAG,UGROUP,STATDATE,STATTIME,STATFLAG,STATMSG,FMTIME,MEETFLG
MOVE "3" TO USERID
MOVE "3" TO USRNO
MOVE "Tom Grayson" To USRNAME
MOVE "SALES" TO UGROUP
WRITE USRFILE;USERID,USRNO,USRNAME,USREXT,LOFLAG,UGROUP,STATDATE,STATTIME,STATFLAG,STATMSG,FMTIME,MEETFLG
MOVE "4" TO USERID
MOVE "4" TO USRNO
MOVE "Sam Tolli" To USRNAME
WRITE USRFILE;USERID,USRNO,USRNAME,USREXT,LOFLAG,UGROUP,STATDATE,STATTIME,STATFLAG,STATMSG,FMTIME,MEETFLG
ENDIF
CLOSE USRFILE
//
// Aamdexing the Users File
//
AAMDEX "agendau.data,agendau.aam,L91 -U,P1##'*',1-10,11-16,17-36,43-47"
//
// Indexing & Ammdexing the Appointments File
//
PREP AGENDA,"agenda.data",FSA,"17","98"
CLOSE AGENDA
INDEX "agenda.data,agenda.isi,L98 -1-17"
PREP AGENDAIM,"agenda.data",FSA,"U,1-6,44-98","98"
CLOSE AGENDAIM
AAMDEX "agenda.data,agenda.aam,L98 -U,1-6,44-98"
//
// Indexing the Appointment Graph File
//
PREP GRAPH,"agendag.data",FSG,"11","109"
CLOSE GRAPH
INDEX "agendag.data,agendag.isi,L109 -1-11"
//
// Indexing the Messages File
//
PREP MESSAGE,"agendam.data",FSM,"18","387"
CLOSE MESSAGE
INDEX "agendam.data,agendam.isi,L387 -1-18,S,V"
//
// Aamdexing the Directory File
//
PREP DIRFILE,"agendad.data",FSD,"U,1-6,7-36,157-186","186"
CLOSE DIRFILE
AAMDEX "agendad.data,agendad.aam,L186 -U,1-6,7-36,157-186"
//
// Indexing & Aamdexing the Notepad & Alarms File
//
PREP NOTEFILA,"agendan.data",FSN,"U,2-7,40-94","94"
CLOSE NOTEFILA
AAMDEX "agendan.data,agendan.aam,L94 -U,P1='2',2-7,40-94"
PREP NOTEFILE,"agendan.data",FSN,"20","94"
CLOSE NOTEFILE
INDEX "agendan.data,agendan.isi,L94 -1-20"
//
// Indexing the Meeting Planner File
//
PREP PLAN,"agendap.data",FSP,"17","152"
CLOSE PLAN
INDEX "agendap.data,agendap.isi,L152 -1-17,P1##*"
PREP PLAN1,"agendap.data",FSP1,"23","152"
CLOSE PLAN1
INDEX "agendap.data,agendap1.isi,L152 -18-23,7-17,1-6,P1##*"
//
// Indexing the Help File
//
COPYFILE "agendah.new","agendah.data"
INDEX "agendah.data -2-5,P1=*,S,V"
KEYIN "File Generation Complete", Ans
.
. *** End ***
.
You can’t perform that action at this time.