adjustments to the python submitter
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s

This commit is contained in:
Greg Gauthier 2025-10-19 14:33:13 +01:00
parent 82c7c00809
commit 58ad94d1ef
3 changed files with 5 additions and 7 deletions

View File

@ -58,7 +58,6 @@ jobs:
echo "=== Debug: Starting upload/submit ==="
echo "File: ${{ steps.files.outputs.file }}"
echo "Member: ${{ steps.files.outputs.member }}"
cd /home/gmgauthier/Retro/mvs/src/
python3 mvs_job.py "${{ steps.files.outputs.file }}" "@05054.SRCLIB.C" "${{ steps.files.outputs.member }}" "COMPILE"
echo "=== Debug: Upload/submit complete ==="
env:

View File

@ -6,8 +6,8 @@ import tempfile
import os
SRCLIB = "src/"
JCLLIB = "jcl/"
SRCLIB = "src"
JCLLIB = "jcl"
MVSHOST = "oldcomputernerd.com"
RDRPORT = 3505
@ -15,8 +15,9 @@ def upload_source(local_file, dataset_name, member_name, mvshost=MVSHOST):
"""Upload source code to MVS PDS member"""
# Read the source file
filepath = os.path.join(SRCLIB, local_file)
with open(filepath, 'r') as f:
# full path will come from the job runner
# filepath = os.path.join(SRCLIB, local_file)
with open(local_file, 'r') as f:
source_lines = f.readlines()
# PDS member: Use IEBUPDTE

View File

@ -4,8 +4,6 @@
#define PRIMES 1000
// Sieve of Eratosthenes
// Author: Greg Gauthier
// Date: 2016-01-20
int main()
{
int i,j,numbers[LIMIT];